You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My user's credentials are provided by AD so I have groups like "Super-Duper-Admin-User" and "Totally-Normal-Not-Admin-User" that represent "admin" and "user" groups in this application. I've gotten this package to work with these groups by something like the snippet below. I'd much rather follow the pattern in the readme. Is there a way to "alias" these super long group names to the shortened aliases?
exportconstpermissions: Permissions<Roles,Subjects,Actions>={'Super-Duper-Admin-User'({ can }){can(Actions.manage,'all');},'Totally-Normal-Not-Admin-User'({ cannot }){cannot(Actions.manage);},};
The text was updated successfully, but these errors were encountered:
My user's credentials are provided by AD so I have groups like "Super-Duper-Admin-User" and "Totally-Normal-Not-Admin-User" that represent "admin" and "user" groups in this application. I've gotten this package to work with these groups by something like the snippet below. I'd much rather follow the pattern in the readme. Is there a way to "alias" these super long group names to the shortened aliases?
The text was updated successfully, but these errors were encountered: