You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a logged in user with access to the "Security" section, I can remove myself from groups
As a logged in user with access to the "Security" section, I can't remove myself from any group that would deny me further access to that section (groups with ADMIN permission)
In the "Group" edit view, I can't unlink from an ADMIN group in the "Members" GridField (either by hiding the action, or through a validation error)
In the "Member" edit view, I get a validation error when removing from an ADMIN group
Notes
No need for confirmation dialogs (too complex)
Users without ADMIN, but CMS_ACCESS_SecurityAdmin permissions are an edge case that we can ignore. It means there's likely other admins left in the system to restore access if needed.
The text was updated successfully, but these errors were encountered:
alessandromarotta
changed the title
BUG SS361: User can accidentally remove self from Group Edit mask
BUG SS361: User can accidentally remove self from the own Group
Aug 23, 2017
Acceptance Criteria
Notes
clearableValue: false
see Use react-select for react-based dropdowns (SingleSelectField and MultiSelectField) silverstripe-admin#52 and https://github.com/JedWatson/react-select#multiselect-options)Pull requests
Original post
Hi there!
I found out a bug (IMHO) about the /admin/security/EditForm/field/Groups/ mask.
Every user can remove self from the own Group clicking on the unlink button.
I think that it's a bad idea.
Bye,
Alessandro
Note
ACs and details can also be found here silverstripe/silverstripe-cms#730
The text was updated successfully, but these errors were encountered: