AdaptCMS
AdaptCMS copied to clipboard
Roles/Permissions
- Finish roles & permissions
- Routing protection is good
- Need to be able to assign multiple roles to a user. ensure on install, that it assigns the roles too.
- manage permissions for a role in the admin (vuejs mini app)
First three items are done. The JS app that powers easy control of permissions is the only part left.
Since roles are inherited - meaning the default admin user will have four roles assigned (admin, editor, demo, member), that needs to be worked into managing permissions for a role. Some notes:
- When they go to create a role, they should first pick roles to inherit from. If I pick member role only, then no admin area permissions are present.
- That said, there needs to be a little quick add so I could give this new role permission to edit pages (headed by "Posts" - format needs to be module, controller, and action)
- Deleting a role needs to have a warning page (only applies to custom roles, core roles are NOT deletable) if any users are assigned to it. They need to pick an existing role for those users to be assigned to, before deletion can take place.