Permissions

Public Has Permission Endpoint

get

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:

OAuth2authorizationCodeRequired
Authorization URL: Token URL: Refresh URL:
Query parameters
resourcestringRequired
actionstringRequired
Responses
chevron-right
200

Successful Response

application/json
booleanOptional
get
/permissions
ZenML Scarf

Last updated

Was this helpful?