This will add authorized feature to module routes. It works with authenticated user guarded by 'unusual_users' as default. Some customizable features are as following:
static authorizedGuardName: 'unusual_users'
allAuthorizedRoles: [admin,manager, editor]
authorizedUserRoles: [manager,client-manager]
Issue ticket number and link
Checklist before requesting a review
[x] I have performed a self-review of my code
[ ] If it is a core feature, I have added thorough tests.
[ ] Do we need to implement analytics?
[ ] Will this be part of a product update? If yes, please write one phrase about this update.
Describe your changes
This will add authorized feature to module routes. It works with authenticated user guarded by 'unusual_users' as default. Some customizable features are as following:
Issue ticket number and link
Checklist before requesting a review
┆Issue is synchronized with this Teamwork task by Unito