Layered Permission / roles logic (advice needed)

Would love some input on the following.

We have multiple layers of permissions for each role (in a SaaS context).
The roles are:

Each role has different layers of permissions.
Here’s an example of what we have so far, please keep in mind that the roles might be adjusted in the future. We want fine control in what each role can access exactly, so this system needs to allow that.

Example of roles and their permissions

Student can access:

Teacher can:

Teacher ‘assistant’ (user with a bit less rights) can:

Admin can:

Admin ‘assistant’ (bit less rights again) can:

My question

Currently I have 3 functional roles set up in the security provider:

But I don’t think this can accommodate what I want. The possible solution I see would get really messy in a few months. Please let me know if you’ve done something similar!

Possible solutions I see

  1. Keep just these 3 roles in the security provider, create new library actions for each specific permission, like:

While typing I have the feeling I’m overcomplicating things?

Community Page
Last updated: