Skip to content

Commit 6294649

Browse files
committed
MB-34224 Correct doc for RBAC roles with multiple buckets
Previous commit missed the bucket_admin example Change-Id: Icae21763a9f537356bc27088dd123f9ba2eac8d7 Reviewed-on: http://review.couchbase.org/110542 Reviewed-by: Carlos Gonzalez <carlos.gonzalez@couchbase.com> Tested-by: Patrick Varley <patrick@couchbase.com>
1 parent ca69d2c commit 6294649

3 files changed

Lines changed: 8 additions & 5 deletions

File tree

docs/generated/doc/couchbase-cli/couchbase-cli-user-manage.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -637,7 +637,8 @@ <h3 id="_roles">ROLES</h3>
637637
data_reader[*]. To give the user read-only access to data on a single
638638
bucket named <em>default</em> then specify their role as data_reader[default].
639639
If the user needs read-only access to data for multiple buckets, for example
640-
<em>default</em> and <em>app</em>, then set their role as data_reader[default,app].</p>
640+
<em>default</em> and <em>app</em>, then set their role as
641+
data_reader[default],data_reader[app].</p>
641642
</dd>
642643
<dt class="hdlist1">data_reader_writer[&#8230;&#8203;]</dt>
643644
<dd>

docs/generated/man/man1/couchbase-cli-user-manage.1

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
.\" Title: couchbase-cli-user-manage
33
.\" Author: Couchbase
44
.\" Generator: Asciidoctor 2.0.9
5-
.\" Date: 2019-06-07
5+
.\" Date: 2019-06-11
66
.\" Manual: Couchbase CLI Manual
77
.\" Source: Couchbase CLI 1.0.0
88
.\" Language: English
99
.\"
10-
.TH "COUCHBASE\-CLI\-USER\-MANAGE" "1" "2019-06-07" "Couchbase CLI 1.0.0" "Couchbase CLI Manual"
10+
.TH "COUCHBASE\-CLI\-USER\-MANAGE" "1" "2019-06-11" "Couchbase CLI 1.0.0" "Couchbase CLI Manual"
1111
.ie \n(.g .ds Aq \(aq
1212
.el .ds Aq '
1313
.ss \n[.ss] 0
@@ -236,7 +236,8 @@ To give a user read\-only access for all buckets set their role to
236236
data_reader[*]. To give the user read\-only access to data on a single
237237
bucket named \fIdefault\fP then specify their role as data_reader[default].
238238
If the user needs read\-only access to data for multiple buckets, for example
239-
\fIdefault\fP and \fIapp\fP, then set their role as data_reader[default,app].
239+
\fIdefault\fP and \fIapp\fP, then set their role as
240+
data_reader[default],data_reader[app].
240241
.RE
241242
.sp
242243
data_reader_writer[...]

docs/modules/cli/pages/cbcli/couchbase-cli-user-manage.adoc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,8 @@ data_reader[...]::
122122
data_reader[*]. To give the user read-only access to data on a single
123123
bucket named _default_ then specify their role as data_reader[default].
124124
If the user needs read-only access to data for multiple buckets, for example
125-
_default_ and _app_, then set their role as data_reader[default,app].
125+
_default_ and _app_, then set their role as
126+
data_reader[default],data_reader[app].
126127

127128
data_reader_writer[...]::
128129
Gives the user permission to read and write data through Couchbases

0 commit comments

Comments
 (0)