X-Git-Url: https://git.proxmox.com/?p=pve-access-control.git;a=blobdiff_plain;f=PVE%2FAPI2%2FACL.pm;h=866e0237459541ad6c9b246c1cd12eb22f27d21d;hp=3e42ac06d8a9a85131a00fc62b6a02997689203d;hb=bcf4eb3d4960aa2b3d1e63c482fc35b83bab2c0a;hpb=3a5ae7a0e6a0f3483a43752994bcb03336ff498e;ds=sidebyside diff --git a/PVE/API2/ACL.pm b/PVE/API2/ACL.pm index 3e42ac0..866e023 100644 --- a/PVE/API2/ACL.pm +++ b/PVE/API2/ACL.pm @@ -17,11 +17,13 @@ use base qw(PVE::RESTHandler); register_standard_option('acl-propagate', { description => "Allow to propagate (inherit) permissions.", type => 'boolean', + title => 'Propagate', optional => 1, default => 1, }); register_standard_option('acl-path', { description => "Access control path", + title => 'Path', type => 'string', }); @@ -46,9 +48,9 @@ __PACKAGE__->register_method ({ properties => { propagate => get_standard_option('acl-propagate'), path => get_standard_option('acl-path'), - type => { type => 'string', enum => ['user', 'group'] }, - ugid => { type => 'string' }, - roleid => { type => 'string' }, + type => { type => 'string', title => 'Type', enum => ['user', 'group'] }, + ugid => { type => 'string', title => 'ID' }, + roleid => { type => 'string', title => 'Role' }, }, }, },