Description
Load travel sample
Create user marco with query select on travel-sample.itinerary.airlines
both
select * from system:buckets
and
select * from system:scopes
return no documents.
Technically this is correct as marco doesn't have privileges on travel-sample or itinerary, but it would probably be more informative if we returned `travel-sample` and `travel-sample`.itinerary respectively given that we can access at least one collection in there.
All the keyspace keyspaces (indexes, keyspaces, buckets, scopes) could use GetUserBuckets() rather than namespace.Objects(), as it would cut down on scanning buckets the user doesn't have access to.
system:nodes should report the node uuid.
Attachments
For Gerrit Dashboard: MB-51988 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
179578,3 | MB-51988 system:nodes to show node uuid | master | query | Status: MERGED | +2 | +1 |
179792,7 | MB-51988 system keyspaces improvements | master | query | Status: MERGED | +2 | +1 |
179929,2 | MB-51988 improve system keyspaces | master | query | Status: MERGED | +2 | +1 |
179930,2 | MB-51988 improve system keyspaces | master | query-ee | Status: MERGED | +2 | +1 |
180074,2 | MB-51988. Add queryNodeQuota to vitals | master | query | Status: MERGED | +2 | +1 |
184171,2 | MB-54881 Proper check for SYSTEM namespace in dictionary | master | query | Status: MERGED | +2 | +1 |
184172,2 | MB-54881 Proper check for SYSTEM namespace in dictionary | master | query-ee | Status: MERGED | +2 | +1 |