privs: add some more comments explaining privileges
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
This commit is contained in:
parent
2fc45a97a9
commit
e4e280183e
@ -26,15 +26,23 @@ constnamedbitmap! {
|
|||||||
PRIV_SYS_MODIFY("Sys.Modify");
|
PRIV_SYS_MODIFY("Sys.Modify");
|
||||||
PRIV_SYS_POWER_MANAGEMENT("Sys.PowerManagement");
|
PRIV_SYS_POWER_MANAGEMENT("Sys.PowerManagement");
|
||||||
|
|
||||||
|
/// Datastore.Audit allows knowing about a datastore,
|
||||||
|
/// including reading the configuration entry and listing its contents
|
||||||
PRIV_DATASTORE_AUDIT("Datastore.Audit");
|
PRIV_DATASTORE_AUDIT("Datastore.Audit");
|
||||||
|
/// Datastore.Allocate allows creating or deleting datastores
|
||||||
PRIV_DATASTORE_ALLOCATE("Datastore.Allocate");
|
PRIV_DATASTORE_ALLOCATE("Datastore.Allocate");
|
||||||
|
/// Datastore.Modify allows modifying a datastore and its contents
|
||||||
PRIV_DATASTORE_MODIFY("Datastore.Modify");
|
PRIV_DATASTORE_MODIFY("Datastore.Modify");
|
||||||
|
/// Datastore.Read allows reading arbitrary backup contents
|
||||||
PRIV_DATASTORE_READ("Datastore.Read");
|
PRIV_DATASTORE_READ("Datastore.Read");
|
||||||
|
/// Allows verifying a datastore
|
||||||
PRIV_DATASTORE_VERIFY("Datastore.Verify");
|
PRIV_DATASTORE_VERIFY("Datastore.Verify");
|
||||||
|
|
||||||
/// Datastore.Backup also requires backup ownership
|
/// Datastore.Backup allows Datastore.Read|Verify and creating new snapshots,
|
||||||
|
/// but also requires backup ownership
|
||||||
PRIV_DATASTORE_BACKUP("Datastore.Backup");
|
PRIV_DATASTORE_BACKUP("Datastore.Backup");
|
||||||
/// Datastore.Prune also requires backup ownership
|
/// Datastore.Prune allows deleting snapshots,
|
||||||
|
/// but also requires backup ownership
|
||||||
PRIV_DATASTORE_PRUNE("Datastore.Prune");
|
PRIV_DATASTORE_PRUNE("Datastore.Prune");
|
||||||
|
|
||||||
PRIV_PERMISSIONS_MODIFY("Permissions.Modify");
|
PRIV_PERMISSIONS_MODIFY("Permissions.Modify");
|
||||||
|
Loading…
Reference in New Issue
Block a user