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
Is it possible to define a simple RBAC system ('USER', 'EDITOR', 'ADMIN') and guarding the routes by user's role without having to define all permissions? Something like:
I see that in the original interface can be defined the role property that sounds good for my case, but it seems that your role.interface.ts accept only resource, action and possession. Or I'm missing something?
Thanks in advance
The text was updated successfully, but these errors were encountered:
Is it possible to define a simple RBAC system ('USER', 'EDITOR', 'ADMIN') and guarding the routes by user's role without having to define all permissions? Something like:
I see that in the original interface can be defined the
role
property that sounds good for my case, but it seems that yourrole.interface.ts
accept onlyresource
,action
andpossession
. Or I'm missing something?Thanks in advance
The text was updated successfully, but these errors were encountered: