Implement ACL merging/updating #4

Merged
Georg merged 2 commits from feature/update_acl into main 2024-09-24 00:25:44 +02:00
Showing only changes of commit 5221ec8f51 - Show all commits

View File

@ -306,3 +306,13 @@ def parse_acl_from_path(path):
Return: Complete ACL map Return: Complete ACL map
""" """
return parse_acl(read_acl_from_path(path)) return parse_acl(read_acl_from_path(path))
def debug_dump_acl_entries(acl):
for entry in acl:
print(f'tag: {entry.tag_type}', end='')
try:
print(f' qual: {entry.qualifier}')
except TypeError:
print()
print(f'read: {entry.permset.read}')