gravitino.api.authorization.group.Group¶
- class gravitino.api.authorization.group.Group¶
Bases:
AuditableThe interface of a group. The group is a collection of users in the authorization system.
- __init__()¶
Methods
- abstract name() → str¶
The name of the group.
- Returns:
str: The name of the group.
- abstract roles() → list[str]¶
The roles of the group. A group can have multiple roles. Every role binds several privileges.
- Returns:
list[str]: The role names of the group.