-
Notifications
You must be signed in to change notification settings - Fork 165
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: Ability to Change Share Item Visibility in Graph API #8750
Conversation
i wasn't able to finalize the PR, i can continue working on it after my vacation which would be the week after the next. |
Why a |
you’re right, I missed that 🤗 |
134bb3a
to
1914aea
Compare
9a14131
to
b91e575
Compare
b91e575
to
431e962
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the hide/unhide thing needs to update all received shares for the same resource. (Similar to how mount/unmount update the synchronize flag on all shares)
Also raised some questions, where I'd like to understand some of the reasons for the changes.
In general I think it would be easier to review this PR if the changes that just refactor stuff were done in separate commits. It's ok. After all this is not too big. But you might want to consider it for the future.
Introduce the `PATCH /graph/v1beta1/drives/{driveID}/items/{itemID}` Graph API endpoint which allows updating individual Drive Items.
cfe69d2
to
412533a
Compare
Quality Gate passedIssues Measures |
) * Enhancement: Ability to Change Share Item Visibility in Graph API Introduce the `PATCH /graph/v1beta1/drives/{driveID}/items/{itemID}` Graph API endpoint which allows updating individual Drive Items. * fix: failing tests * fix: consider siblings when updating shares * fix: reduce sharing service provider interface
Description
This PR introduces an enhancement and introduces the
PUT /graph/v1beta1/drives/{driveID}/items/{itemID}
Graph API endpoint, which now allows updating individual Drive Items.At the moment, the primary changeable property is the share visibility. This enhancement is required for the UI, allowing specific shares to be hidden or unhidden as needed, thereby improving the user experience.
While currently, only the share visibility is considered changeable, this update lays the groundwork for adding more properties to this endpoint in the future.
Related Issue
@UI.hidden
property editable through API #8654Motivation and Context
This change provides more control over the visibility of shared items, improving the user experience and offering a new level of flexibility and control to the users.
How Has This Been Tested?
Types of changes
ToDos: