Project

General

Profile

Bug #14534

rgw: cannot limit users to not create buckets

Added by Yehuda Sadeh about 8 years ago. Updated over 7 years ago.

Status:
Resolved
Priority:
High
Assignee:
Target version:
-
% Done:

0%

Source:
other
Tags:
Backport:
jewel
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Related issues

Copied to rgw - Backport #16163: jewel: rgw: cannot limit users to not create buckets Resolved

History

#1 Updated by Yehuda Sadeh about 8 years ago

Currently the max_buckets param on the user info cannot limit users to not be able to create any buckets. Either we add a flag to the user info to allow that, or rework the encoding/decoding of the max_buckets param. I prefer adding a new flag, since the encoding/decoding could be confusing and problematic in multi-zone sync of mixed version.

#2 Updated by Yehuda Sadeh almost 8 years ago

  • Status changed from New to Fix Under Review
  • Backport set to jewel

https://github.com/ceph/ceph/pull/9457

In this PR: setting a negative number of buckets prevents the bucket creation (returns permission denied). A zero value to max_buckets is still used for no limit.

#3 Updated by Yehuda Sadeh almost 8 years ago

  • Status changed from Fix Under Review to Pending Backport

#4 Updated by Nathan Cutler almost 8 years ago

  • Copied to Backport #16163: jewel: rgw: cannot limit users to not create buckets added

#5 Updated by Loïc Dachary over 7 years ago

  • Status changed from Pending Backport to Resolved

Also available in: Atom PDF