-
Notifications
You must be signed in to change notification settings - Fork 28
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
Archived group memberships not visible on user admin page #4
Comments
Thanks for the clear bug report. It's also possible the restriction group could be deleted. What do you think would be the best fix? One option would be to not allow groups to be archived/deleted if they are in use for user account restrictions. Another would be to somehow leave the account as "restricted to nothing" if the only allowed group is deleted. |
Hi Tom, I think group archiving should be a reversible operation. If I archive a group, think "oops" and unarchive it, that shouldn't trash all the group visibility restrictions. And certainly, if I'm restricted to group A, and then group A is deleted/archived, I should now be able to see nothing, not everything (as would happen if the restriction is just deleted). So perhaps keep recording the fact that a user is restricted to an archived group, and treat it as if they have no access. |
Yep. |
Curent behaviour:
To fix: Make sure the current-restriction group(s) is included in the selection list even if archived. |
Hi,
Say I have a group, called 'Test Group', and then restrict a user to that group via Admin -> User Accounts:
If I then Archive the group, the admin view for our use changes to this:
Instead of seeing the archived group's name, we see an empty field.
This gives the impression that there are NO group-level restrictions on the user, i.e. that the user can see all groups. But actually the user can see no groups - they're limited to just one (archived) group. Super confusing!
Finally, if one clicks 'Update Account' on a user with an archived group, the archived group membership is lost:
By doing so, one may have inadvertently given a user access to all groups.
The text was updated successfully, but these errors were encountered: