Dietmar Maurer
|
8cc3760e74
|
move acl to pbs_config workspaces, pbs_api_types cleanups
|
2021-09-09 10:50:08 +02:00 |
|
Dietmar Maurer
|
bf78f70885
|
improve code docs in api2
Note: API methos should be declared pub, so that they show up in the generated docu.
|
2021-01-22 15:57:42 +01:00 |
|
Fabian Grünbichler
|
4428818412
|
clippy: remove unnecessary clones
and from::<T>(T)
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
|
2021-01-20 16:22:59 +01:00 |
|
Fabian Grünbichler
|
3c053adbb5
|
role api: fix description
wrongly copy-pasted at some point
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
|
2020-09-18 14:55:00 +02:00 |
|
Dominik Csapak
|
b05672579e
|
api2/roles: change return field of role to roleid
to be compatible with the pve api
with this, we can reuse the ui parts (RoleSelector)
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
|
2020-05-20 13:21:47 +02:00 |
|
Dominik Csapak
|
5160c0e986
|
api2/acl: add privs array to roles
so that an admin can see which roles have which privileges
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
|
2020-05-20 13:21:37 +02:00 |
|
Dietmar Maurer
|
bc0d03885c
|
use proxmox 0.1.25, use new EnumEntry feature
|
2020-04-29 13:01:24 +02:00 |
|
Wolfgang Bumiller
|
f7d4e4b506
|
switch from failure to anyhow
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
|
2020-04-17 18:43:30 +02:00 |
|
Dietmar Maurer
|
aa90ced3bf
|
src/api2/access/role.rs: use schema ACL_ROLE_SCHEMA
|
2020-04-17 14:14:06 +02:00 |
|
Dietmar Maurer
|
3fff55b293
|
src/api2/access/role.rs: new api to list roles
|
2020-04-17 14:03:24 +02:00 |
|