From: Fabian Ebner <f.ebner@proxmox.com>
To: pbs-devel@lists.proxmox.com
Subject: [pbs-devel] [PATCH proxmox-backup] docs: user management: avoid some inconsistencies
Date: Tue, 10 Nov 2020 13:33:20 +0100 [thread overview]
Message-ID: <20201110123320.19368-1-f.ebner@proxmox.com> (raw)
The space between '--' and 'path' in two of the commands was wrong. The other
changes make the names of the store and token consistent with the rest of the
section and should improve readability.
Also add the Datastore.Verify permission in the output of the command:
proxmox-backup-manager user permissions john@pbs --path /datastore/store1
A DatastoreAdmin now has this permission and that's what john@pbs is in the
example.
Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
---
docs/user-management.rst | 15 ++++++++-------
1 file changed, 8 insertions(+), 7 deletions(-)
diff --git a/docs/user-management.rst b/docs/user-management.rst
index 06348917..fc849dde 100644
--- a/docs/user-management.rst
+++ b/docs/user-management.rst
@@ -230,11 +230,11 @@ You can list the ACLs of each user/token using the following command:
.. code-block:: console
# proxmox-backup-manager acl list
- ┌──────────┬──────────────────┬───────────┬────────────────┐
- │ ugid │ path │ propagate │ roleid │
- ╞══════════╪══════════════════╪═══════════╪════════════════╡
- │ john@pbs │ /datastore/disk1 │ 1 │ DatastoreAdmin │
- └──────────┴──────────────────┴───────────┴────────────────┘
+ ┌──────────┬───────────────────┬───────────┬────────────────┐
+ │ ugid │ path │ propagate │ roleid │
+ ╞══════════╪═══════════════════╪═══════════╪════════════════╡
+ │ john@pbs │ /datastore/store1 │ 1 │ DatastoreAdmin │
+ └──────────┴───────────────────┴───────────┴────────────────┘
A single user/token can be assigned multiple permission sets for different datastores.
@@ -267,7 +267,7 @@ you can use the ``proxmox-backup-manager user permission`` command:
.. code-block:: console
- # proxmox-backup-manager user permissions john@pbs -- path /datastore/store1
+ # proxmox-backup-manager user permissions john@pbs --path /datastore/store1
Privileges with (*) have the propagate flag set
Path: /datastore/store1
@@ -276,9 +276,10 @@ you can use the ``proxmox-backup-manager user permission`` command:
- Datastore.Modify (*)
- Datastore.Prune (*)
- Datastore.Read (*)
+ - Datastore.Verify (*)
# proxmox-backup-manager acl update /datastore/store1 DatastoreBackup --auth-id 'john@pbs!client1'
- # proxmox-backup-manager user permissions 'john@pbs!test' -- path /datastore/store1
+ # proxmox-backup-manager user permissions 'john@pbs!client1' --path /datastore/store1
Privileges with (*) have the propagate flag set
Path: /datastore/store1
--
2.20.1
next reply other threads:[~2020-11-10 12:33 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-10 12:33 Fabian Ebner [this message]
2020-11-10 12:48 ` [pbs-devel] applied: " Thomas Lamprecht
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20201110123320.19368-1-f.ebner@proxmox.com \
--to=f.ebner@proxmox.com \
--cc=pbs-devel@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox