Skip to content

Commit 3d94457

Browse files
authored
Merge pull request ceph#61520 from idryomov/wip-osdcap-syntax-doc
doc/rados: pool and namespace are independent osdcap restrictions Reviewed-by: Zac Dover <[email protected]> Reviewed-by: Anthony D'Atri <[email protected]>
2 parents 4c09477 + 67f5769 commit 3d94457

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

doc/rados/operations/user-management.rst

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,18 +134,22 @@ Capability syntax follows this form::
134134

135135
osd 'allow {access-spec} [{match-spec}] [network {network/prefix}]'
136136

137-
osd 'profile {name} [pool={pool-name} [namespace={namespace-name}]] [network {network/prefix}]'
137+
osd 'profile {name} [pool={pool-name}] [namespace={namespace-name}] [network {network/prefix}]'
138138

139139
There are two alternative forms of the ``{access-spec}`` syntax: ::
140140

141141
* | all | [r][w][x] [class-read] [class-write]
142142

143143
class {class name} [{method name}]
144144

145-
There are two alternative forms of the optional ``{match-spec}`` syntax::
145+
There are four alternative forms of the optional ``{match-spec}`` syntax::
146146

147147
pool={pool-name} [namespace={namespace-name}] [object_prefix {prefix}]
148148

149+
[pool={pool-name}] namespace={namespace-name} [object_prefix {prefix}]
150+
151+
[pool={pool-name}] [namespace={namespace-name}] object_prefix {prefix}
152+
149153
[namespace={namespace-name}] tag {application} {key}={value}
150154

151155
The optional ``{network/prefix}`` is a standard network name and prefix

0 commit comments

Comments
 (0)