summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIlya Dryomov <idryomov@gmail.com>2025-01-25 18:49:05 +0100
committerGitHub <noreply@github.com>2025-01-25 18:49:05 +0100
commit3d944579d521defc949879ab2dd6f41c2196416f (patch)
treeea7ddcde846338ff75133dbe285a50fffda32c6b
parentMerge pull request #61503 from zdover23/wip-doc-2025-01-24-cephfs-disaster-re... (diff)
parentdoc/rados: pool and namespace are independent osdcap restrictions (diff)
downloadceph-3d944579d521defc949879ab2dd6f41c2196416f.tar.xz
ceph-3d944579d521defc949879ab2dd6f41c2196416f.zip
Merge pull request #61520 from idryomov/wip-osdcap-syntax-doc
doc/rados: pool and namespace are independent osdcap restrictions Reviewed-by: Zac Dover <zac.dover@proton.me> Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
-rw-r--r--doc/rados/operations/user-management.rst8
1 files changed, 6 insertions, 2 deletions
diff --git a/doc/rados/operations/user-management.rst b/doc/rados/operations/user-management.rst
index 1cfab8016c2..cd8e378fa9d 100644
--- a/doc/rados/operations/user-management.rst
+++ b/doc/rados/operations/user-management.rst
@@ -134,7 +134,7 @@ Capability syntax follows this form::
osd 'allow {access-spec} [{match-spec}] [network {network/prefix}]'
- osd 'profile {name} [pool={pool-name} [namespace={namespace-name}]] [network {network/prefix}]'
+ osd 'profile {name} [pool={pool-name}] [namespace={namespace-name}] [network {network/prefix}]'
There are two alternative forms of the ``{access-spec}`` syntax: ::
@@ -142,10 +142,14 @@ Capability syntax follows this form::
class {class name} [{method name}]
- There are two alternative forms of the optional ``{match-spec}`` syntax::
+ There are four alternative forms of the optional ``{match-spec}`` syntax::
pool={pool-name} [namespace={namespace-name}] [object_prefix {prefix}]
+ [pool={pool-name}] namespace={namespace-name} [object_prefix {prefix}]
+
+ [pool={pool-name}] [namespace={namespace-name}] object_prefix {prefix}
+
[namespace={namespace-name}] tag {application} {key}={value}
The optional ``{network/prefix}`` is a standard network name and prefix