Skip to content
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

enforce set space quota permission #2650

Merged
merged 1 commit into from
Oct 22, 2021
Merged

enforce set space quota permission #2650

merged 1 commit into from
Oct 22, 2021

Conversation

C0rby
Copy link
Contributor

@C0rby C0rby commented Oct 20, 2021

Description

This PR enforces the set-space-quota permission on the update storage space /update drive request.

Before merging this we need: cs3org/reva#2162 in reva first.

Types of changes

  • New feature (non-breaking change which adds functionality)

Checklist:

  • Code changes

@C0rby C0rby self-assigned this Oct 20, 2021
@update-docs
Copy link

update-docs bot commented Oct 20, 2021

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.

@C0rby C0rby force-pushed the graph-update-drive branch from 0b85e1e to 99fb935 Compare October 22, 2021 09:58
@C0rby C0rby marked this pull request as ready for review October 22, 2021 09:59
@C0rby C0rby requested review from refs, wkloucek and micbar October 22, 2021 09:59
@ownclouders
Copy link
Contributor

💥 Acceptance tests localApiTests-apiSpaces-ocis failed. The build is cancelled...

@micbar
Copy link
Contributor

micbar commented Oct 22, 2021

@C0rby Before your PR, the list spaces response was returning the Displayname of the User for the personal space. Now it is returning "root"

@micbar
Copy link
Contributor

micbar commented Oct 22, 2021

this is the problem https://github.com/cs3org/reva/pull/2162/files#diff-d308a0558595437a537e77e29346472e66ab3bc31c213fcd2dd9b5f64c02aa91R348-R357

You brought back old behavior that was already changed

@C0rby
Copy link
Contributor Author

C0rby commented Oct 22, 2021

Ah then I must have lost that while rebasing...

@C0rby
Copy link
Contributor Author

C0rby commented Oct 22, 2021

I'll open another PR in reva...

@ownclouders
Copy link
Contributor

💥 Acceptance tests localApiTests-apiSpaces-ocis failed. The build is cancelled...

@C0rby C0rby force-pushed the graph-update-drive branch 2 times, most recently from 4315ded to 1d48fef Compare October 22, 2021 13:39
@C0rby C0rby force-pushed the graph-update-drive branch from 1d48fef to c23071f Compare October 22, 2021 13:54
@sonarqubecloud
Copy link

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 0 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication

@C0rby C0rby merged commit e85bd67 into master Oct 22, 2021
@delete-merged-branch delete-merged-branch bot deleted the graph-update-drive branch October 22, 2021 14:36
ownclouders pushed a commit that referenced this pull request Oct 22, 2021
Merge: 46ce7b8 c23071f
Author: David Christofas <dchristofas@owncloud.com>
Date:   Fri Oct 22 16:36:40 2021 +0200

    Merge pull request #2650 from owncloud/graph-update-drive

    enforce set space quota permission
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.

4 participants