-
Notifications
You must be signed in to change notification settings - Fork 173
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[roles] new module #8929
[roles] new module #8929
Conversation
@regisoc assigning this to you because it's failing tests and needs a rebase |
@driusan not all tests there, I will try to do that today. |
@driusan after our discussion, this PR will be cut down in 3:
|
What is the difference between the Collapsible component and jsx/Panel.js? |
Good point, I did not know Panel was a collapsible. |
Brief summary of changes
New
roles manager
module.Roles are pre-configured sets of permissions automatically assigned when the user is given a new role. This feature allows managers/coordinators to assign permissions to users based on their roles in a study.
New in
roles_manager
(roles + role-permissions):Changes in
user_account
module (users + user-permissions + user-role):Also:
Collapsible
React component.permission_category
table.roles
,user_role_rel
,role_permission_rel
tables.Other tasks:
Screenshots of the current state
Click to see the screenshots
Main Role page
Edit Role page
User account role selection
Testing instructions (if applicable)
2023-11-03_roles_module.sql
ormake testdata
.LORIS front-end > Admin > Roles Manager
andLORIS front-end > Admin > user accounts
Link(s) to related issue(s)
Linked to #7416