Skip to content

[Sharing NG] permissions for a drive are missing its members #8352

Closed

Description

@JammingBen

Describe the bug

When fetching the permissions of a drive they are missing its members.

Steps to reproduce

  1. Create a drive and add some members and links to it.
  2. Fetch permissions for that drive: curl "https://localhost:9200/graph/v1beta1/drives/{drive-id}/items/{item-id}/permissions" -u admin:admin -vk | jq

Expected behavior

All members and links should be represented as a permission in the server's response.

Actual behavior

Members are missing, the server only returns the links.

cc @rhafer

Activity

  1. moved this from Qualification to Backlog in Infinite Scale Team Boardon Mar 4, 2024
  2. self-assigned this
    on Mar 7, 2024
  3. moved this from Backlog to In progress in Infinite Scale Team Boardon Mar 7, 2024
  4. rhafer commented on Mar 7, 2024

    @rhafer
    Contributor

    I just noticed, that while we have implemented
    GET /graph/v1beta1/drives and /graph/v1beta1/me/drives (which also return the permissions in the "new" format)

    we're still missing the GET /graph/v1beta1/drives/{drive-id}

    scratch that. I think we should not be returning permissions with the drives response at all on the v1beta1 implementation. This should be added to the driveItem related endpoints. (MS Graph does not specific the permissions relation for drives)

    graph/v1beta1/drives/items/{item-id}/permissions (as requested in this issue)
    and graph/v1beta1/drives/{driveid}/root/permissions

  5. added 5 commits that reference this issue on Mar 13, 2024
    21222ff
    c27eb91
    d527fe7
    39781be
    446cabd
  6. added a commit that references this issue on Mar 18, 2024
    2352145
  7. added a commit that references this issue on Mar 18, 2024
    a326d95
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions