Skip to main content

Module rbac

Module rbac 

Source

Enums§

UnauthorizedError
Errors that can occur due to an unauthorized action.

Statics§

CREATE_ITEM_USAGE
EMPTY_ITEM_USAGE

Functions§

all_object_privileges
check_plan
Checks if a session is authorized to execute a plan. If not, an error is returned.
check_usage
Checks if a session is authorized to use resolved_ids. If not, an error is returned.
default_builtin_object_privilege
is_rbac_enabled_for_session
Returns true if RBAC is turned on for a session, false otherwise.
owner_privilege
support_builtin_object_privilege