authz

Check whether a role possesses a permission

Check whether a role has the specified permissions.

post/authz/roles/{id}/has-permission

Request

  • Base URL: https://localhost:8080/v1
  • URL: https://localhost:8080/v1/authz/roles/{id}/has-permission
  • Auth: one of:
    • none
    • OAuth 2 (implicit, authorization URL http://to-be-configured-in-the-application-config)

Path parameters

idstring required

The name of the role.

Request body

action'manage_backups' | 'read_backups' | 'read_cluster' | 'create_data' | 'read_data' | 'update_data' | 'delete_data' | 'read_nodes' | 'create_roles' | 'read_roles' | 'update_roles' | 'delete_roles' | 'create_collections' | 'read_collections' | 'update_collections' | 'delete_collections' | 'assign_and_revoke_users' | 'create_users' | 'read_users' | 'update_users' | 'delete_users' | 'create_tenants' | 'read_tenants' | 'update_tenants' | 'delete_tenants' | 'create_replicate' | 'read_replicate' | 'update_replicate' | 'delete_replicate' | 'create_aliases' | 'read_aliases' | 'update_aliases' | 'delete_aliases' | 'assign_and_revoke_groups' | 'read_groups' | 'create_mcp' | 'read_mcp' | 'update_mcp' | 'manage_namespaces' required

Allowed actions in weaviate.

Response

Permission check was successful.

boolean required

Changes

No recorded changes to this operation across all 1 revision of this API.