Skip to content

Commit f35c2fe

Browse files
committed
MB-35130 Correct query_manage_index RBAC role in doc
Change-Id: Ia5f584590a51c429a32370e0993a7650d250cb57 Reviewed-on: http://review.couchbase.org/112495 Well-Formed: Build Bot <build@couchbase.com> Reviewed-by: James Lee <james.lee@couchbase.com> Tested-by: Patrick Varley <patrick@couchbase.com>
1 parent 5be01a5 commit f35c2fe

3 files changed

Lines changed: 25 additions & 24 deletions

File tree

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

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<meta charset="UTF-8">
55
<meta http-equiv="X-UA-Compatible" content="IE=edge">
66
<meta name="viewport" content="width=device-width, initial-scale=1.0">
7-
<meta name="generator" content="Asciidoctor 2.0.9">
7+
<meta name="generator" content="Asciidoctor 2.0.10">
88
<meta name="author" content="Couchbase">
99
<title>couchbase-cli-user-manage(1)</title>
1010
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Open+Sans:300,300italic,400,400italic,600,600italic%7CNoto+Serif:400,400italic,700,700italic%7CDroid+Sans+Mono:400,700">
@@ -241,7 +241,7 @@
241241
pre.pygments .lineno{border-right:1px solid currentColor;opacity:.35;display:inline-block;margin-right:.75em}
242242
pre.pygments .lineno::before{content:"";margin-right:-.125em}
243243
.quoteblock{margin:0 1em 1.25em 1.5em;display:table}
244-
.quoteblock>.title{margin-left:-1.5em;margin-bottom:.75em}
244+
.quoteblock:not(.excerpt)>.title{margin-left:-1.5em;margin-bottom:.75em}
245245
.quoteblock blockquote,.quoteblock p{color:rgba(0,0,0,.85);font-size:1.15rem;line-height:1.75;word-spacing:.1em;letter-spacing:0;font-style:italic;text-align:justify}
246246
.quoteblock blockquote{margin:0;padding:0;border:0}
247247
.quoteblock blockquote::before{content:"\201c";float:left;font-size:2.75em;font-weight:bold;line-height:.6em;margin-left:-.6em;color:#7a2518;text-shadow:0 1px 2px rgba(0,0,0,.1)}
@@ -258,7 +258,8 @@
258258
.quoteblock.abstract blockquote,.quoteblock.abstract p,.quoteblock.excerpt blockquote,.quoteblock.excerpt p,.quoteblock .quoteblock blockquote,.quoteblock .quoteblock p{line-height:1.6;word-spacing:0}
259259
.quoteblock.abstract{margin:0 1em 1.25em;display:block}
260260
.quoteblock.abstract>.title{margin:0 0 .375em;font-size:1.15em;text-align:center}
261-
.quoteblock.excerpt,.quoteblock .quoteblock{margin:0 0 1.25em;padding:0 0 .25em 1em;border-left:.25em solid #dddddf}
261+
.quoteblock.excerpt>blockquote,.quoteblock .quoteblock{padding:0 0 .25em 1em;border-left:.25em solid #dddddf}
262+
.quoteblock.excerpt,.quoteblock .quoteblock{margin-left:0}
262263
.quoteblock.excerpt blockquote,.quoteblock.excerpt p,.quoteblock .quoteblock blockquote,.quoteblock .quoteblock p{color:inherit;font-size:1.0625rem}
263264
.quoteblock.excerpt .attribution,.quoteblock .quoteblock .attribution{color:inherit;text-align:left;margin-right:0}
264265
table.tableblock{max-width:100%;border-collapse:separate}
@@ -711,15 +712,15 @@ <h3 id="_roles">ROLES</h3>
711712
<div class="dlist">
712713
<div class="title">Query Service Roles:</div>
713714
<dl>
714-
<dt class="hdlist1">manage_index[&#8230;&#8203;]</dt>
715+
<dt class="hdlist1">query_manage_index[&#8230;&#8203;]</dt>
715716
<dd>
716717
<p>Allows the user to create and delete indexes on the specified buckets. To
717718
give a user the ability to create and delete indexes on all buckets set
718-
their role to manage_index[*]. To give the user permission to create and
719-
delete indexes on a single bucket named <em>default</em> then specify their role
720-
as manage_index[default]. If the user needs to be create and delete indexes
721-
for multiple buckets, for example <em>default</em> and <em>app</em>, then set their role
722-
as manage_index[default],manage_index[app].</p>
719+
their role to query_manage_index[*]. To give the user permission to create
720+
and delete indexes on a single bucket named <em>default</em> then specify their
721+
role as query_manage_index[default]. If the user needs to be create and
722+
delete indexes for multiple buckets, for example <em>default</em> and <em>app</em>, then
723+
set their role as query_manage_index[default],query_manage_index[app].</p>
723724
</dd>
724725
<dt class="hdlist1">query_delete[&#8230;&#8203;]</dt>
725726
<dd>

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

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
'\" t
22
.\" Title: couchbase-cli-user-manage
33
.\" Author: Couchbase
4-
.\" Generator: Asciidoctor 2.0.9
5-
.\" Date: 2019-06-12
4+
.\" Generator: Asciidoctor 2.0.10
5+
.\" Date: 2019-07-25
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-12" "Couchbase CLI 1.0.0" "Couchbase CLI Manual"
10+
.TH "COUCHBASE\-CLI\-USER\-MANAGE" "1" "2019-07-25" "Couchbase CLI 1.0.0" "Couchbase CLI Manual"
1111
.ie \n(.g .ds Aq \(aq
1212
.el .ds Aq '
1313
.ss \n[.ss] 0
@@ -313,15 +313,15 @@ fts_searcher[default],fts_searcher[app].
313313
.B Query Service Roles:
314314
.br
315315
.sp
316-
manage_index[...]
316+
query_manage_index[...]
317317
.RS 4
318318
Allows the user to create and delete indexes on the specified buckets. To
319319
give a user the ability to create and delete indexes on all buckets set
320-
their role to manage_index[*]. To give the user permission to create and
321-
delete indexes on a single bucket named \fIdefault\fP then specify their role
322-
as manage_index[default]. If the user needs to be create and delete indexes
323-
for multiple buckets, for example \fIdefault\fP and \fIapp\fP, then set their role
324-
as manage_index[default],manage_index[app].
320+
their role to query_manage_index[*]. To give the user permission to create
321+
and delete indexes on a single bucket named \fIdefault\fP then specify their
322+
role as query_manage_index[default]. If the user needs to be create and
323+
delete indexes for multiple buckets, for example \fIdefault\fP and \fIapp\fP, then
324+
set their role as query_manage_index[default],query_manage_index[app].
325325
.RE
326326
.sp
327327
query_delete[...]

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -184,14 +184,14 @@ fts_searcher[...]::
184184

185185
.Query Service Roles:
186186

187-
manage_index[...]::
187+
query_manage_index[...]::
188188
Allows the user to create and delete indexes on the specified buckets. To
189189
give a user the ability to create and delete indexes on all buckets set
190-
their role to manage_index[*]. To give the user permission to create and
191-
delete indexes on a single bucket named _default_ then specify their role
192-
as manage_index[default]. If the user needs to be create and delete indexes
193-
for multiple buckets, for example _default_ and _app_, then set their role
194-
as manage_index[default],manage_index[app].
190+
their role to query_manage_index[*]. To give the user permission to create
191+
and delete indexes on a single bucket named _default_ then specify their
192+
role as query_manage_index[default]. If the user needs to be create and
193+
delete indexes for multiple buckets, for example _default_ and _app_, then
194+
set their role as query_manage_index[default],query_manage_index[app].
195195

196196
query_delete[...]::
197197
Allows the user to execute DELETE query statements on the specified buckets.

0 commit comments

Comments
 (0)