rgw: cannot limit users to not create buckets
#1 Updated by Yehuda Sadeh over 3 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 about 3 years ago
- Status changed from New to Need Review
- Backport set to jewel
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.