gravitino.api.authorization.supports_roles.SupportsRoles¶
- class gravitino.api.authorization.supports_roles.SupportsRoles¶
Bases:
ABCInterface for supporting list role names for objects. This interface will be mixed with metadata objects to provide listing role operations.
- __init__()¶
Methods
__init__()List all the role names associated with this metadata object.
- abstract list_binding_role_names() → list[str]¶
List all the role names associated with this metadata object.
- Raises:
NotImplementedError: If the method is not implemented.
- Returns:
list[str]: The role name list associated with this metadata object.