core icon indicating copy to clipboard operation
core copied to clipboard

[OC 5.x] - account deleting - multi groups membership

Open PhilippeBE opened this issue 12 years ago • 3 comments

Hello,

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

  1. Create an account in two groups (account1)
  2. Give the administration rigth to this two groups to two different account (admin1 and admin2)
  3. The account admin1 can delete account1 even if account1 is still member of the second groups and vice verse.

Server configuration

ownCloud version: (see ownCloud admin page) 5.x

Client configuration

all

PhilippeBE avatar Jan 13 '14 12:01 PhilippeBE

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;))

MorrisJobke avatar Aug 20 '14 06:08 MorrisJobke

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.

MTRichards avatar Aug 20 '14 13:08 MTRichards

This is a duplicate of https://github.com/owncloud/core/issues/1212 – let’s continue there.

jancborchardt avatar Aug 20 '14 13:08 jancborchardt