Using policies to route users to different controller methods?
Is this possible? I already have policy based auth set up but instead of doing an if chain or a switch on the role, I'd rather redirect users of role x to GetX() and role y to GetY(). Can't seem to find the answer by googling so any insights appreciated.
0 comments:
Post a Comment