Skip to content

graph: Implement delete permission - #7796

Merged
rhafer merged 1 commit into
owncloud:masterfrom
rhafer:graph-delete-permission
Nov 27, 2023
Merged

rhafer merged 1 commit into
owncloud:masterfrom
rhafer:graph-delete-permission

Conversation

@rhafer

@rhafer rhafer commented Nov 23, 2023 •

Copy link
Copy Markdown
Contributor

Implements DELETE on graph/v1beta1/drives/<driveid>/items/<itemid>/permissions/<permissionid>

The endpoint is currently only implemented for "user shares". The implementation for "links" will follow in another PR.

related issue: #6993

@rhafer rhafer self-assigned this Nov 23, 2023
@update-docs

update-docs Bot commented Nov 23, 2023

Copy link
Copy Markdown

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.

@rhafer rhafer mentioned this pull request Nov 23, 2023
22 tasks done
Allows the owner to remove permissions of a driveItem (i.e. to delete a
share). For now this does not work for "link" permission (i.e. public
shares)
@rhafer
rhafer force-pushed the graph-delete-permission branch from aeb275b to 557531b Compare November 27, 2023 11:44
@rhafer rhafer changed the title wip: Delete permission graph: Implement delete permission Nov 27, 2023
@rhafer
rhafer marked this pull request as ready for review November 27, 2023 13:31
@rhafer
rhafer requested review from fschade and micbar November 27, 2023 13:31

@fschade fschade left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, only thing is the helper, up to you

@micbar micbar left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@sonarqubecloud

Copy link
Copy Markdown

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 1 Code Smell

81.1% 81.1% Coverage
0.0% 0.0% Duplication

@rhafer
rhafer enabled auto-merge (rebase) November 27, 2023 15:37
@rhafer
rhafer merged commit 4a94388 into owncloud:master Nov 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants