]> git.proxmox.com Git - pve-access-control.git/commit
refactor API using get/register_standard_option
authorStoiko Ivanov <s.ivanov@proxmox.com>
Thu, 21 Jun 2018 12:31:45 +0000 (14:31 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 27 Jun 2018 14:40:55 +0000 (16:40 +0200)
commit3a5ae7a0e6a0f3483a43752994bcb03336ff498e
treef83c942015308cd42bfdfc431c8212beb669ce47
parentab7b19b58ce8b73ed67c6fa9e4de2d1413697e75
refactor API using get/register_standard_option

Pull out duplicated property definitions in the API into
register_standard_option/get_standard_option calls.
(All parameters, which are thus added to the API calls were optional).

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
PVE/API2/ACL.pm
PVE/API2/AccessControl.pm
PVE/API2/Group.pm
PVE/API2/Role.pm
PVE/API2/User.pm