gravitino.api.authorization.group.Group

class gravitino.api.authorization.group.Group

Bases: Auditable

The interface of a group. The group is a collection of users in the authorization system.

__init__()

Methods

__init__()

audit_info()

name()

The name of the group.

roles()

The roles of the group.

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.