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
{{ message }}
Repository navigation
[OC 5.x] - account deleting - multi groups membership #6746
We have a lot of "normal user" in different groups.
For each group, we have delegate the user admin to a "admin group account"
An "admin group account" has no visibility on the other group and thus, can not seen that a "normal user" is member of another group(s).
So when an "admin group account" will delete a "normal user" he doesn't receive any warning that the "normal user" is still member of an another group that the "admin group account" can not see/doesn't know.
Expected behaviour
An "admin account" of a group could not delete an account which is still member of an another group
Actual behaviour
Any "admin account" of a group can delete an account of the group even if the account is still member og an another group
Steps to reproduce
Create an account in two groups (account1)
Give the administration rigth to this two groups to two different account (admin1 and admin2)
The account admin1 can delete account1 even if account1 is still member of the second groups and vice verse.
We discussed about something related: Deleting a user with groups should remove him from the other groups and then delete him. Otherwise the groups are still assigned to an non existing user and aren't deletable.
As this is a very special use case that is pointed out here - we need proper discussion.
This is very similar to another problem where a group admin can delete a user from the system completely via api call. This should not be allowed, a group admin can only delete a user from their group. If this is the only group, then they can delete the user completely - but only in this case.
Activity
MorrisJobke commentedon Aug 20, 2014
We discussed about something related: Deleting a user with groups should remove him from the other groups and then delete him. Otherwise the groups are still assigned to an non existing user and aren't deletable.
As this is a very special use case that is pointed out here - we need proper discussion.
cc @MTRichards @karlitschek How should this work?
cc @blizzz @PVince81 @th3fallen @icewind1991 @schiesbn @butonic @jancborchardt Opinions? (also summon forgotten buddys;))
MTRichards commentedon Aug 20, 2014
This is very similar to another problem where a group admin can delete a user from the system completely via api call. This should not be allowed, a group admin can only delete a user from their group. If this is the only group, then they can delete the user completely - but only in this case.
jancborchardt commentedon Aug 20, 2014
This is a duplicate of #1212 – let’s continue there.