pve-access-control/PVE/API2
Dominik Csapak 055c54b5a2 domain sync: make options actually required
we want the api options to be optional, but only as long as there are
default values set in the realm config

since they are all marked as optional (else they would be required in
the api) this check did not work as intended

instead, set the result to the value of:
* the parameter
* the set default in the config
* the api default
in this order

if it is undef after this, raise a parameter exception

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2020-04-25 18:31:35 +02:00
..
AccessControl.pm API: add 'permissions' API endpoint 2020-01-29 21:21:58 +01:00
ACL.pm API: include API tokens in ACL API endpoints 2020-01-29 21:21:58 +01:00
Domains.pm domain sync: make options actually required 2020-04-25 18:31:35 +02:00
Group.pm API: add group members to group index 2020-01-28 20:56:55 +01:00
Makefile moved Pool.pm to pve-manager package 2012-01-27 08:44:22 +01:00
Role.pm fix #2575: die when trying to edit built-in roles 2020-01-31 20:34:06 +01:00
User.pm token create: return also full token id for convenience 2020-04-15 20:41:39 +02:00