X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;ds=sidebyside;f=PVE%2FAPI2%2FRole.pm;h=156d3b89bc4015060ae851bd180bd10a7ce2c394;hb=bcf4eb3d4960aa2b3d1e63c482fc35b83bab2c0a;hp=80959b0a26d65d8eedac8aa070ecac05a8b18f48;hpb=3a5ae7a0e6a0f3483a43752994bcb03336ff498e;p=pve-access-control.git diff --git a/PVE/API2/Role.pm b/PVE/API2/Role.pm index 80959b0..156d3b8 100644 --- a/PVE/API2/Role.pm +++ b/PVE/API2/Role.pm @@ -15,11 +15,13 @@ use base qw(PVE::RESTHandler); register_standard_option('role-id', { type => 'string', format => 'pve-roleid', + title => 'Role ID', + print_width => 30 }); register_standard_option('role-privs', { type => 'string' , format => 'pve-priv-list', - optional => 1, + optional => 1, title => 'Privileges', }); __PACKAGE__->register_method ({ @@ -41,7 +43,7 @@ __PACKAGE__->register_method ({ properties => { roleid => get_standard_option('role-id'), privs => get_standard_option('role-privs'), - special => { type => 'boolean', optional => 1, default => 0 }, + special => { type => 'boolean', optional => 1, default => 0, title => 'Built-In' }, }, }, links => [ { rel => 'child', href => "{roleid}" } ],