GroupRoleGrant
GroupRoleGrant Schema¶
Description: A grant of a group role to a user.
Role name → permission set is defined in
:data:`skynet_db.auth.role_permissions.GROUP_ROLE_PERMISSIONS`. Group role
grants are user-only; nested-group grants are not modeled in v1.
Properties¶
| Name | Type | Description |
|---|---|---|
| id | Integer |
No description |
| group_id | Integer |
No description |
| role_name | Enum(maintainer, member) |
No description |
| user_id | Integer |
No description |
| grantor_id | Integer (Optional) |
No description |
| granted_on | DateTime |
No description |
Relationships¶
| Relationship Name | Type |
|---|---|
| group | Group |
| user | User |
| grantor | Entity |