Details
-
Improvement
-
Resolution: Unresolved
-
Minor
-
None
Description
Across the board collections are usually referred inside Couchbase with the following convention: "bucket.scope.collection". it's true for N1QL, Couchbase CLI, backup and restore and more.
i.e. Couchbase-cli
/opt/couchbase/bin/couchbase-cli collection-manage -c localhost \ --username Administrator \ --password password \ --bucket testBucket \ --create-collection my_scope.my_collection_in_my_scope_1 \ --max-ttl 0 |
https://docs.couchbase.com/server/7.0/n1ql/n1ql-intro/queriesandresults.html
However, with regard to Couchbase roles, the convention seems to be different "bucket:scope:collection" and the separation is with ":" instead of ".".
https://docs.couchbase.com/server/7.0/manage/manage-security/manage-users-and-roles.html
not sure if that intentional or not or what is "better", but I opened this ticket for tracking and consistency.