Configure ACL multiple levels for school
Opened this issue · 0 comments
Manuel-Antunes commented
Description
- we need to make the user access of features permissioned, so, implement the acl for multiple roles inside the project for each power structure in a school
Prerequisites
- create a role Admin who can administrate all things inside the school
- create the role Teacher who can administrate all things in a classroom but cannot manage external classrooms
- create the role Student who can create posts, delete his own posts, update his own posts
- create the role Staff who can manage all the system
Additional Info
- the adonis acl library uses the database to manage the roles and the permissions, so, when we need to add this roles as fixed in system, we create a seeder, this seeder have the DML code to insert the default roles in database when the project is created
Additional context
Sexo ?