Repository navigation
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 🤗 |
rhafer
left a comment
There was a problem hiding this comment.
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.
|
) * 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.hiddenproperty 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: