Description
While a user with cluster.bucket[...].data.dcp!read permission can access bucket REST api (e.g. /pools/default/buckets/beer-sample), and the collections manifest via DCP, it cannot access the collections manifest via REST api (e.g. /pools/default/buckets/beer-sample/collections). Attempts to do so return:
{"message":"Forbidden. User needs the following permissions","permissions":["cluster.bucket[beer-sample].collections!read"]}
|
Given that this information is already accessible w/ this permission over DCP protocol, can we make it accessible via REST api with the same permission?
Attachments
Issue Links
- blocks
-
MB-42934 [CX] Consume collections manifest from REST api
- Closed
For Gerrit Dashboard: MB-42426 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
140927,4 | MB-42934: obtain collections manifest from REST api | master | cbas-core | Status: MERGED | +2 | +1 |
140930,3 | MB-42426: User can view collections they have access to. | master | ns_server | Status: MERGED | +2 | +1 |
141013,2 | MB-42934: use scopes REST api for remote links | master | cbas-core | Status: MERGED | +2 | +1 |