henry
10/22/2021, 5:50 AMRyan
10/22/2021, 6:17 AMhenry
10/23/2021, 12:54 PMRyan
10/25/2021, 4:53 AMRole
model and assign a relationship like this:
model User {
roles Role[]
}
model Role {
}
And then the superuser can add new roles and assign them to users. The check to see if the user performing the action is valid or not will have to be added in your controllers/application logic.henry
11/23/2021, 8:28 AM