Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues with spaces and deleted users and/or groups #8948

Open
someone-somenet-org opened this issue Apr 24, 2024 · 2 comments
Open

Issues with spaces and deleted users and/or groups #8948

someone-somenet-org opened this issue Apr 24, 2024 · 2 comments
Labels

Comments

@someone-somenet-org
Copy link

Describe the bug

Deleting users and groups can lead to spaces with no more managers and/or the spaces can become fully inaccessible.

There doesn't seem to be a way to add managers to spaces as system admin or spaces admin.

Also deleted users and groups are still considered existent, somehow, but cant be deleted from the space managers' memberships view.

Steps to reproduce

  1. create group or user (doesn't matter, both lead to the same set of issues).
  2. create space.
  3. add group or user (as manager) to said space.
  4. delete group or user.

Expected behavior

  • Refuse to delete user and/or group if they are still mapped to some space.
  • Allow system/space admins to edit every space's memberships.
  • Allow removing or automatically remove deleted users and/or groups from space memberships.

Actual behavior

image

Not only did I end up with an inaccessible space as I deleted all members, the admin page still displays 3 members (2 deleted users + 1 deleted group) which no longer exist, there seems to be no way to fix this.

image
Also if im still a spaces' manager, I cant remove deleted users/groups from space memberships, since they dont show up in the membership view...

image
... yet they somehow show up in the administrative space membership view...

Setup

Localhost test setup.

OCIS_INSECURE=true PROXY_HTTP_ADDR=0.0.0.0:9200 OCIS_URL=https://localhost:9200 ./ocis server

@micbar
Copy link
Contributor

micbar commented Apr 26, 2024

This is a known issue.

@kobergj
Copy link
Collaborator

kobergj commented May 2, 2024

There is already a proposed fix: #5967

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants