mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-05-07 22:03:18 +00:00
ipaprivilege: fix creation of add/del lists for permissions.
A wrong parameter 'member_permission' was being used to obtain the existing permissions, and was changed to 'memberof_permission'.
This commit is contained in:
@@ -256,7 +256,8 @@ def main():
|
||||
|
||||
# Generate addition and removal lists
|
||||
permission_add, permission_del = gen_add_del_lists(
|
||||
permission, res_find.get("member_permission"))
|
||||
permission, res_find.get("memberof_permission")
|
||||
)
|
||||
|
||||
# Add members
|
||||
if len(permission_add) > 0:
|
||||
|
||||
Reference in New Issue
Block a user