pve-access-control/test
Dominik Csapak 5654260eab do not modify ACLs/Groups for missing users
instead of dropping ACLs and group membership for missing users,
simply warn and leave it in the config

for users that get removed via the api this happens explicitely

this is to prevent that a 'faulty' ldapsync removes users temporarily
and with it all acls that the admin created

we still have a 'purge' flag for the sync where ACLs get removed
explicitly for users removed from ldap

also adapt the tests

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2020-03-21 16:05:38 +01:00
..
auth-test.pl replace read_password with param_mapping 2018-06-27 13:27:22 +02:00
dump-perm.pl access-control: remove check_permissions/permission 2019-11-23 18:12:50 +01:00
dump-users.pl iimported from svn 'pve-access-control/trunk' 2011-08-23 07:27:48 +02:00
Makefile test: add token-related tests 2020-01-29 21:21:58 +01:00
parser_writer.pl do not modify ACLs/Groups for missing users 2020-03-21 16:05:38 +01:00
perm-test1.pl tests: unify config file naming 2020-01-29 21:21:58 +01:00
perm-test2.pl roles()/permissions(): also return propagate flag 2020-01-29 21:21:58 +01:00
perm-test3.pl roles()/permissions(): also return propagate flag 2020-01-29 21:21:58 +01:00
perm-test4.pl roles()/permissions(): also return propagate flag 2020-01-29 21:21:58 +01:00
perm-test5.pl roles()/permissions(): also return propagate flag 2020-01-29 21:21:58 +01:00
perm-test6.pl user.cfg: skip inexisting roles when parsing ACLs 2020-01-29 21:21:59 +01:00
perm-test7.pl roles()/permissions(): also return propagate flag 2020-01-29 21:21:58 +01:00
perm-test8.pl test: add token-related tests 2020-01-29 21:21:58 +01:00
test1.cfg tests: unify config file naming 2020-01-29 21:21:58 +01:00
test2.cfg iimported from svn 'pve-access-control/trunk' 2011-08-23 07:27:48 +02:00
test3.cfg iimported from svn 'pve-access-control/trunk' 2011-08-23 07:27:48 +02:00
test4.cfg iimported from svn 'pve-access-control/trunk' 2011-08-23 07:27:48 +02:00
test5.cfg start pool support, return NoAccess role, fix acl cache 2012-01-25 14:32:12 +01:00
test6.cfg user.cfg: skip inexisting roles when parsing ACLs 2020-01-29 21:21:59 +01:00
test7.cfg fix NoAccess when inheritred from pool 2012-01-26 06:13:59 +01:00
test8.cfg test: add token-related tests 2020-01-29 21:21:58 +01:00