mirror of
https://git.proxmox.com/git/pve-access-control
synced 2025-08-16 02:18:04 +00:00
changed 'pveum aclmod' command line arguments
We cant use multiple arguments with '-list' types. JSONSchema::get_options is unable to handle that.
This commit is contained in:
parent
9b2172261e
commit
7a4c849ea3
2
Makefile
2
Makefile
@ -2,7 +2,7 @@ RELEASE=2.0
|
|||||||
|
|
||||||
VERSION=1.0
|
VERSION=1.0
|
||||||
PACKAGE=libpve-access-control
|
PACKAGE=libpve-access-control
|
||||||
PKGREL=9
|
PKGREL=10
|
||||||
|
|
||||||
DESTDIR=
|
DESTDIR=
|
||||||
PREFIX=/usr
|
PREFIX=/usr
|
||||||
|
@ -1,3 +1,11 @@
|
|||||||
|
libpve-access-control (1.0-10) unstable; urgency=low
|
||||||
|
|
||||||
|
* fix ACL group name parser
|
||||||
|
|
||||||
|
* changed 'pveum aclmod' command line arguments
|
||||||
|
|
||||||
|
-- Proxmox Support Team <support@proxmox.com> Tue, 14 Feb 2012 12:08:02 +0100
|
||||||
|
|
||||||
libpve-access-control (1.0-9) unstable; urgency=low
|
libpve-access-control (1.0-9) unstable; urgency=low
|
||||||
|
|
||||||
* fix bug in check_volume_access (fixes vzrestore)
|
* fix bug in check_volume_access (fixes vzrestore)
|
||||||
|
4
pveum
4
pveum
@ -72,8 +72,8 @@ my $cmddef = {
|
|||||||
rolemod => [ 'PVE::API2::Role', 'update_role', ['roleid'] ],
|
rolemod => [ 'PVE::API2::Role', 'update_role', ['roleid'] ],
|
||||||
roledel => [ 'PVE::API2::Role', 'delete_role', ['roleid'] ],
|
roledel => [ 'PVE::API2::Role', 'delete_role', ['roleid'] ],
|
||||||
|
|
||||||
aclmod => [ 'PVE::API2::ACL', 'update_acl', ['path', 'roles'], { delete => 0 }],
|
aclmod => [ 'PVE::API2::ACL', 'update_acl', ['path'], { delete => 0 }],
|
||||||
acldel => [ 'PVE::API2::ACL', 'update_acl', ['path', 'roles'], { delete => 1 }],
|
acldel => [ 'PVE::API2::ACL', 'update_acl', ['path'], { delete => 1 }],
|
||||||
};
|
};
|
||||||
|
|
||||||
my $cmd = shift;
|
my $cmd = shift;
|
||||||
|
Loading…
Reference in New Issue
Block a user