-
Notifications
You must be signed in to change notification settings - Fork 187
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
enhancement: add graph beta listPermissions endpoint #7753
Conversation
Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would create a changelog item based on your changes. |
As far as I understand Also according to the specs its |
Seems the example in the spec is wrong. The schema for the |
f6b1bd5
to
21677b7
Compare
40a0b01
to
9ca0810
Compare
besides the new api endpoint it includes several utilities to simplify the graph api development. * resolve drive and item id from the request path * generic pointer and value utilities * space root detection
9ca0810
to
ae5a228
Compare
ae5a228
to
adb7d11
Compare
Kudos, SonarCloud Quality Gate passed! |
* enhancement: add graph beta listPermissions endpoint besides the new api endpoint it includes several utilities to simplify the graph api development. * resolve drive and item id from the request path * generic pointer and value utilities * space root detection * update GetDriveAndItemIDParam signature to return a error * move errorcode package * enhancement: add generic error code handling * fix: rebase
* enhancement: add graph beta listPermissions endpoint besides the new api endpoint it includes several utilities to simplify the graph api development. * resolve drive and item id from the request path * generic pointer and value utilities * space root detection * update GetDriveAndItemIDParam signature to return a error * move errorcode package * enhancement: add generic error code handling * fix: rebase
* enhancement: add graph beta listPermissions endpoint besides the new api endpoint it includes several utilities to simplify the graph api development. * resolve drive and item id from the request path * generic pointer and value utilities * space root detection * update GetDriveAndItemIDParam signature to return a error * move errorcode package * enhancement: add generic error code handling * fix: rebase
* enhancement: add graph beta listPermissions endpoint besides the new api endpoint it includes several utilities to simplify the graph api development. * resolve drive and item id from the request path * generic pointer and value utilities * space root detection * update GetDriveAndItemIDParam signature to return a error * move errorcode package * enhancement: add generic error code handling * fix: rebase
Description
implement graph listPermissions endpoint according to the spec.
the current implementation is an optimistic approach and needs discussions for the expected behaviour.
the following points are unclear or need further fine-tuning:
@libre.graph.permissions.roles.allowedValues
, use of CS3ResourcePermissionsToUnifiedRole- yesresult.value
, to contain public links or not (currently contained)swagger spec return value vs ms spec (- CollectionOfPermissionsWithAllowedValuescollectionOfPermissions
orListResponse
)display- no@libre.graph.permissions.roles.allowedValues.*.rolePermissions
or notmeaning of@libre.graph.permissions.roles.allowedValues.*.weight
in that contextToDo
Related Issue
Motivation and Context
listing share (drive) permissions is part of our openAPI and ms graph spec, this is needed for the ocs to graph migratioin.
How Has This Been Tested?
Example:
Request
Response (owner)
Response (grantee - viewer)
Types of changes
Checklist: