trying to fix tests

This commit is contained in:
Kay0u 2021-04-13 14:05:16 +02:00
parent f6687e69f8
commit 4fa6a4cde2
No known key found for this signature in database
GPG key ID: AAFEEB16CFA2AE2D

View file

@ -89,10 +89,7 @@ def user_permission_list(
name = infos["cn"][0] name = infos["cn"][0]
app = name.split(".")[0] app = name.split(".")[0]
if app in SYSTEM_PERMS: if app in SYSTEM_PERMS and ignore_system_perms:
if ignore_system_perms:
continue
elif app not in apps:
continue continue
perm = {} perm = {}