RafaelVidaurre / angular-permission

Simple route authorization via roles/permissions
MIT License
1.13k stars 212 forks source link

How to get current user Roles on services? #438

Closed mike623 closed 6 years ago

mike623 commented 7 years ago

Need to dynamic change services result by role

masterspambot commented 7 years ago

To do so by updating role permissions or using functions assigned to resolving permissions. https://github.com/Narzerus/angular-permission/wiki/Usage-in-ui-router-states#dynamic-redirection-rules