SkynetRoleGrant
SkynetRoleGrant Schema
Description: A grant of a Skynet-wide role to a single user.
Role name → permission set is defined in
:data:`skynet_db.auth.role_permissions.SKYNET_ROLE_PERMISSIONS`.
Properties
| Name | Type | Description |
|---|---|---|
| id | Integer |
No description |
| role_name | Enum(CALIBRATION_SCHEDULER, ADMIN) |
No description |
| user_id | Integer |
No description |
| grantor_id | Integer (Optional) |
No description |
| granted_on | DateTime |
No description |
Relationships
| Relationship Name | Type |
|---|---|
| user | User |
| grantor | Entity |