Open teodoranegru opened 2 months ago
Additional business rules:
The permissions chosen by the Super Admin for a role will serve as the default permissions for that role. This means that when the NGO Admin adds a user with that role, the default permissions will automatically be selected and cannot be changed. Example: When the Super Admin configures the Manager de caz role, it will select the "Poate lua rol de manager de caz" checkbox. This means that when an NGO Admin creates a user with the role Manager de caz, the "Poate lua rol de manager de caz" checkbox will be selected and disabled.
Because an user can have multiple roles, when the NGO Admin adds an user, IF they select multiple roles, the default of that user will contain all the default permissions of those roles.
User story
As a Super Admin, I need to be able to define the list of roles the NGO Specialist users can have. The roles I configure in the Super Admin interface will populate the "Rol" dropdown from the Staff section.
Implement in the "Nomenclator servicii și specialiști section" the "Specialiști" tab. In the "Specialiști" tab, implement the "Toate rolurile de specialiști" table (link to design in Figma)
Flows
Add specialist role
Edit specialist role
Delete specialist role
Business rules