mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Add $REALM to variables supported by the managed permission updater
This will allow converting password policy permissions Part of the work for: https://fedorahosted.org/freeipa/ticket/4346 Reviewed-By: Martin Kosek <mkosek@redhat.com>
This commit is contained in:
parent
700ac6c116
commit
83cb982858
@ -345,6 +345,7 @@ class update_managed_permissions(PostUpdate):
|
||||
if 'replaces' in template:
|
||||
sub_dict = {
|
||||
'SUFFIX': str(self.api.env.basedn),
|
||||
'REALM': str(self.api.env.realm),
|
||||
}
|
||||
legacy_acistrs = [ipautil.template_str(r, sub_dict)
|
||||
for r in template['replaces']]
|
||||
|
Loading…
Reference in New Issue
Block a user