Skip to content

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

Closed

Description

@PhilippeBE

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

Activity

  1. MorrisJobke commented on Aug 20, 2014

    @MorrisJobke
    Contributor

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

  2. MTRichards commented on Aug 20, 2014

    @MTRichards
    Contributor

    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.

  3. jancborchardt commented on Aug 20, 2014

    @jancborchardt
    Contributor

    This is a duplicate of #1212 – let’s continue there.

  4. locked as resolved and limited conversation to collaborators on Aug 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions