Restrict access to some registation wizards
There are currently 3 roles in reggie: admin, patient curator and all others. With few exceptions all users have access to the majority of the registration wizards. It would be useful to restrict access to some of the other wizards as well. This should be fairly easy to implement once it has been decided what additional roles that are needed and what wizards they should have access to.
We should add the following new "Roles"
SamplePrep
: Access to "Sample processing wizards" except "Histology" which is moved to it's own box
Histology
: Access to the Histology wizards
LibraryPrep
: Access to "Library preparation wizards" except "Create new mRNA plate"
LibraryPlateDesigner
: Access to the "Create new mRNA plate" wizard
SecondaryAnalysis
: Access to the new "Secondary analysis" section that is introduced in #533 (Reggie 2.15)
For the new roles we keep the interface as it is, and only disable the links. This is different from the current way of hiding sections if a user is not "Administrator
" or "PatientCurator
".
Change History
(8)
Summary: |
Add more user roles to Reggie → Restrict access to some registation wizards
|
Description: |
modified (diff)
|
Milestone: |
Reggie v2.x → Reggie v2.14
|
Status: |
new → assigned
|
Description: |
modified (diff)
|
Resolution: |
→ fixed
|
Status: |
assigned → closed
|
(In [2157]) References #528: Restrict access to some registation wizards
Defined several new roles for Reggie. The installation wizard should install them automatically.
The index page will now start with all links disabled and ask about the permissions for the current user. Once the permissions has been retreived the links will be enabled if the user has the requested permission.