-
Notifications
You must be signed in to change notification settings - Fork 12
Assignment
Luke Cassar edited this page Aug 21, 2018
·
3 revisions
To denote the positions and permissions of different users on the platform.
Attribute | Type |
---|---|
id | integer |
user_id | integer |
assignable_type | string |
assignable_id | integer |
title | string |
Attribute | Constraint | Value |
---|---|---|
title | presence | true |
title | values | (see Possible Assignments in the User Model) |
- One Assignment has only one User.
- Dependant: Destroy
- One Assignment has only one Entity.
Title | Create | Update | Read | Destroy |
---|---|---|---|---|
(Admin) | ⭕ | ⭕ | ⭕ | |
GovHack Management Team | ⭕ | ⭕ | ⭕ |
Title | Create | Update | Read | Destroy |
---|---|---|---|---|
GovHack Management Team | ⭕ | ⭕ | ⭕ |
Title | Create | Update | Read | Destroy |
---|---|---|---|---|
GovHack Management Team | ⭕ | ⭕ | ⭕ | |
(Authenticated User) | ⭕ |
Title | Create | Update | Read | Destroy |
---|---|---|---|---|
GovHack Management Team | ⭕ | ⭕ | ||
(Public User) | ⭕ |