Skip to content

The permissions for Graph drives are not appropriate #10

Open

Description

@AlexAndBear

The graph permissions are either inadequate or missing entirely when it comes to handling drive resources. It seems that Reva checks for the RemoveGrant permission to determine if a user is a space admin, which is problematic implicit behavior (see https://github.com/cs3org/reva/blob/edge/pkg/storage/utils/decomposedfs/permissions/spacepermissions.go#L146). As we transition to permission checks in clients, we need to implement the same approach there as well.

I don’t have a clear solution in mind, so I’ll leave that for others to figure out. From a client perspective, I would expect there to be dedicated graph permissions for actions like updating or deleting drives.

original issue posted by @JammingBen

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions