Permissions
Public endpoint to check if the user has certain permissions.
Args: resource: The resource the user wants to perform the action on. action: The action the user wants to perform on the resource. user: The authenticated user. rbac: RBAC component.
Returns: Whether the user has permissions to perform the action on that resource.
Authorizations
OAuth2clientCredentialsRequired
Token URL: Refresh URL:
OAuth2authorizationCodeRequired
Authorization URL: Token URL: Refresh URL:
Query parameters
resourcestringRequired
actionstringRequired
Responses
200
Successful Response
application/json
Responseboolean
422
Validation Error
application/json
get
/permissionsLast updated
Was this helpful?