Get roles and permissions for specific guard ('api') #726
-
By default, Apiato has seeders to insert role admin and permissions for both guards ('api' and 'web') |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
This Actions in not implemented by default. You can create a new Action and just return the results based on There is an |
Beta Was this translation helpful? Give feedback.
This Actions in not implemented by default. You can create a new Action and just return the results based on
api
andweb
guards (maybe passed in by the user in the request or just the current use guard) or you updateGetUserPermissionsAction
.There is an
activeGuard()
helper method that you can use to get the current logged in user guard.