Description
Build : 5.5.0-2928
Steps:
1. Create a 1-node cluster with data, index, n1ql services.
2. Install beer-sample dataset
3. Create a user testuser and grant this user query select role for all buckets
4. Login as testuser
Issue : The Documents tab is visible to this user. Once the Documents tab is clicked, a series of dialogs saying "internal server error" appear to the user. This is because the user do not have any data roles. The Documents tab should be hidden to users that do not have data roles.
Attachments
For Gerrit Dashboard: MB-30232 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
96023,2 | MB-30232: Do not return 'undefined' CAS if user ... | master | ns_server | Status: MERGED | +2 | +1 |
96024,2 | MB-30232: Do not return 'undefined' CAS if user ... | vulcan | ns_server | Status: MERGED | +2 | +1 |
96459,4 | MB-30232 - hide documents tab for users with only query select. | vulcan | query-ui | Status: MERGED | +2 | +1 |
96649,2 | Merge remote-tracking branch 'couchbase/vulcan' into alice | alice | ns_server | Status: MERGED | +2 | +1 |
96708,1 | Merge remote-tracking branch 'couchbase/alice' | master | ns_server | Status: MERGED | +2 | +1 |