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
Hi. Since permission is checked "for" an action (and resource), code should be aware of it.
Per your abstraction; canCreateProducts method indicates action is create.
I need a to include both perms in a single middleware. I'm returning a
Permission but I can't identify it's action.
I returned an object with role, permissions, action and possession to know
permission match.
El lun., 15 abr. 2019 16:42, Onur Yıldırım <[email protected]>
escribió:
Hi.
I'm using a middleware grouping role permissions, i got permissions, attributes and role except action.
The text was updated successfully, but these errors were encountered: