3.5 - Participants Login As option should not be available to all users #10731
Labels
Bug:2:Moderate
A bug that is causing problems for a substantial minority of users.
Milestone
Describe the bug
Currently you can access the Login As feature when you are logged in as a user role that would not normally have access to this feature. Additionally for consistency the Login As option should not be available for a person who already is logged in similar to how settings user's & roles Login As function works.
Precondidtion : Using default dataset. Can use any lower level participant of a submission.
To Reproduce
Steps to reproduce the behavior:
Actual: The Login As option is available (See screenshot)
Expected: The login option should only be available to those with access like Journal Managers, Journal Editors, or Admin
What application are you using?
OJS, OMP or OPS version X.X.X
Additional information
Please add any screenshots, logs or other information we can use to investigate this bug report.
Similar to the settings if you are already logged in as a particular user and that user is a participant then the login As option should be hidden.
Example would be to normally log in as Daniel Barnes and then find a submission that they were a participant of and click the three dots. This should be hidden similar to how it gets hidden in the settings user & roles section.
The text was updated successfully, but these errors were encountered: