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 ({
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}" } ],