privs: remove PRIV_REMOVE_PRUNE
it's not used anywhere, and not needed either until the day we might implement push syncs. Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
This commit is contained in:
parent
b7ce2e575f
commit
2fc45a97a9
@ -42,7 +42,6 @@ constnamedbitmap! {
|
|||||||
PRIV_REMOTE_AUDIT("Remote.Audit");
|
PRIV_REMOTE_AUDIT("Remote.Audit");
|
||||||
PRIV_REMOTE_MODIFY("Remote.Modify");
|
PRIV_REMOTE_MODIFY("Remote.Modify");
|
||||||
PRIV_REMOTE_READ("Remote.Read");
|
PRIV_REMOTE_READ("Remote.Read");
|
||||||
PRIV_REMOTE_PRUNE("Remote.Prune");
|
|
||||||
|
|
||||||
PRIV_SYS_CONSOLE("Sys.Console");
|
PRIV_SYS_CONSOLE("Sys.Console");
|
||||||
}
|
}
|
||||||
@ -96,14 +95,12 @@ PRIV_REMOTE_AUDIT;
|
|||||||
pub const ROLE_REMOTE_ADMIN: u64 =
|
pub const ROLE_REMOTE_ADMIN: u64 =
|
||||||
PRIV_REMOTE_AUDIT |
|
PRIV_REMOTE_AUDIT |
|
||||||
PRIV_REMOTE_MODIFY |
|
PRIV_REMOTE_MODIFY |
|
||||||
PRIV_REMOTE_READ |
|
PRIV_REMOTE_READ;
|
||||||
PRIV_REMOTE_PRUNE;
|
|
||||||
|
|
||||||
/// Remote.SyncOperator can do read and prune on the remote.
|
/// Remote.SyncOperator can do read and prune on the remote.
|
||||||
pub const ROLE_REMOTE_SYNC_OPERATOR: u64 =
|
pub const ROLE_REMOTE_SYNC_OPERATOR: u64 =
|
||||||
PRIV_REMOTE_AUDIT |
|
PRIV_REMOTE_AUDIT |
|
||||||
PRIV_REMOTE_READ |
|
PRIV_REMOTE_READ;
|
||||||
PRIV_REMOTE_PRUNE;
|
|
||||||
|
|
||||||
pub const ROLE_NAME_NO_ACCESS: &str ="NoAccess";
|
pub const ROLE_NAME_NO_ACCESS: &str ="NoAccess";
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user