From 749d21455dac3c45ff7702f26d54f02461e52298 Mon Sep 17 00:00:00 2001 From: Mustafa Baser Date: Tue, 29 Nov 2022 12:40:26 +0300 Subject: [PATCH] feat: jans-linux-setup config-api scope creation (ref: #3097) --- .../jans_setup/setup_app/installers/config_api.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jans-linux-setup/jans_setup/setup_app/installers/config_api.py b/jans-linux-setup/jans_setup/setup_app/installers/config_api.py index ba1948a798e..0904179da7a 100644 --- a/jans-linux-setup/jans_setup/setup_app/installers/config_api.py +++ b/jans-linux-setup/jans_setup/setup_app/installers/config_api.py @@ -131,7 +131,7 @@ def generate_configuration(self): continue if not scope['name'] in scopes: - scope_dn = 'inum={},ou=scopes,o=jans'.format(inum) + scope_dn = 'inum={},ou=scopes,o=jans'.format(scope['inum']) scopes[scope['name']] = {'dn': scope_dn} display_name = 'Config API scope {}'.format(scope['name']) description = 'Config API {} scope {}'.format(scope_level, scope['name']) @@ -139,7 +139,7 @@ def generate_configuration(self): 'objectclass': ['top', 'jansScope'], 'description': [description], 'displayName': [display_name], - 'inum': [inum], + 'inum': [scope['inum']], 'jansDefScope': ['false'], 'jansId': [scope['name']], 'jansScopeTyp': [scope_type],