Current Behavior
When a user has the edit users permission but doesn't have the view hidden group badges one, he can involuntary kick off users from group with a hidden badge simply by add them or remove them to/from an other group.
Steps to Reproduce
make 3 groups and 2 users
group A has the Edit user groups permission but doesn't have the View hidden group badges one
group B has the Hide on forum attribute
group C is a control group without special attribute nor permission
add @user1 to group A (can edit user groups) and @user2 to group B (hidden badge)
with @user1, edit @user2 and add him to group C.
@user2 is kicked off the group B
Expected Behavior@user2 should remains into group B.
discuss ref
Bug Report
Current Behavior When a user has the
edit users
permission but doesn't have theview hidden group badges
one, he can involuntary kick off users from group with a hidden badge simply by add them or remove them to/from an other group.Steps to Reproduce
Edit user groups
permission but doesn't have theView hidden group badges
one group B has theHide on forum
attribute group C is a control group without special attribute nor permission@user1
to group A (can edit user groups) and@user2
to group B (hidden badge)@user1
, edit@user2
and add him to group C.@user2
is kicked off the group BExpected Behavior
@user2
should remains into group B.Environment nightly