-
Notifications
You must be signed in to change notification settings - Fork 455
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
[Administration] | Site-wide context - Settings Wizard, editing user roles in a context may remove roles from other contexts #11078
Comments
@bozana, this appears to be caused by changes to |
@asmecher, could you please review the fix above? |
I reviewed and force-merged to |
Valid Title
Description
The original bug found "When I assign a role to an account (even the admin) in a second journal this account looses its role(s?) in the first journal. E.g. by assigning the Journal Manger role to the admin account in journal B the admin account looses its Journal Manager role in journal A."
I have investigated and was able to reproduce this. I was not able to reproduce in my 3.4 OJS VM. This bug will not be seen if two users are created in each of the journals with different usersnames. The user will need to be registered in one journal and referenced in the other journal. There are a few ways this can be accomplished:
Steps to Reproduce
Scenario 1 : using the admin account default
Scenario 2: Using the existing user update roles
Preconditions: Must have two or more journals and a user created that only exists in one of those journals
Expected Result
The roles should be distinct between the two journals. Each journal's user entry should be able to have different roles without affecting the other journal
Actual Result
Once you update a role in one journal it erases all roles in the other.
Environment Details
No response
Application Version
OJS, OMP Stable-3_5_0
Logs
No response
Additional Information
Updating Journal A removes roles from Journal B

PRs:
stable-3_5_0:
main:
The text was updated successfully, but these errors were encountered: