Skip to content

Space Admin still has access to the project despite being removed from it  #4127

Closed

Description

@SwikritiT

I had a little query about project spaces. Consider the following scenario:

  1. Admin adds Einstein as space admin
  2. Einstein creates a space project team1
  3. Einstein creates a folder test
  4. Add user Moss to project team1 with role manager
  5. Einstein removes himself from the space
  6. Einstein still has access to the space in the sense that he can rename, delete, restore and share the folder test and other resources made before Einstien was removed from the space.

The only thing Einstein cannot do is add new members and create/upload new resources on the root level. Einstein can create/upload resources inside test/
Is this expected/known behavior/issue?
Is it because Einstein is a space admin and he created the project?

Activity

  1. SwikritiT commented on Jul 7, 2022

    @SwikritiT
    ContributorAuthor

    @ScharfViktor Can you take a look at this and confirm if this is expected or a bug?

  2. v-scharf commented on Jul 7, 2022

    @v-scharf
    Contributor

    Probably it is backend issue
    einstein should not be abble to see "space project team1"
    in request GET 'https://host.docker.internal:9200/graph/v1.0/me/drives?%24top=0&%24skip=0&%24orderby=name+asc&%24filter=driveType+eq+project'

  3. v-scharf commented on Jul 7, 2022

    @v-scharf
    Contributor

    I add api test for this case. @SwikritiT thanks for reporting

  4. transferred this issue fromowncloud/webon Jul 7, 2022
  5. micbar commented on Jul 21, 2022

    @micbar
    Contributor

    Fixed by #4244

  6. SwikritiT commented on Aug 29, 2022

    @SwikritiT
    ContributorAuthor

    closing this as solved

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