mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
aci plugin: Fix internal error when ACIs are not readable
Part of the work for: https://fedorahosted.org/freeipa/ticket/3566 Reviewed-By: Martin Kosek <mkosek@redhat.com>
This commit is contained in:
parent
8bbd52e347
commit
647fa1db85
@ -546,7 +546,7 @@ class aci_add(crud.Create):
|
||||
raise errors.DuplicateEntry()
|
||||
|
||||
newaci_str = unicode(newaci)
|
||||
entry['aci'].append(newaci_str)
|
||||
entry.setdefault('aci', []).append(newaci_str)
|
||||
|
||||
if not kw.get('test', False):
|
||||
ldap.update_entry(entry)
|
||||
|
Loading…
Reference in New Issue
Block a user