Check Permission
POST/permission/check
Checks whether the authenticated user has a specific permissionType on a target entity and returns hasPermission. For several targets, match defaults to any; use all to require permission on every non-empty target. An empty target list fails closed in either mode. Use this before attempting an action to see if it will be allowed; use /permission/list to see the full set of permissions and scopes for a user or role.
Request
Responses
- 200
- default
- 4XX
Success
Error
Unauthorized