Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
[portal] Custom user Roles #555
Administrator need the ability to create custom user role.
Do not use profile/authorization to avoid confusion. Only role and permissions.
For example we will have :
So wen can create a role
Each Role will be scoped :
Admin can create a custom role and select read/modify/nothing for each action.
=> The user will have the following permissions : TENANT_READ, TENANT_DELETE.
We also need to develop a new "Users" screen where administrator could associate a user and roles. Users will be those previously connected.
We need a repository to store roles and a repository to store user roles.
We also have to store the resource, this is done via a 4 digits mask by scope :
So a management role which represent read-only on