Unverified Commit 0eceec43 authored by Benaissa BENARBIA's avatar Benaissa BENARBIA Committed by GitHub
Browse files

fix wrong tenant on creating external params profile (#488)

parent 1b974db0
......@@ -126,7 +126,7 @@ public class ExternalParamProfileInternalService {
LOGGER.debug("create access external parameter profile");
LOGGER.debug("create {}, {}, {} ", entityDto.getName(), entityDto.getDescription(),
entityDto.getAccessContract());
final Integer tenantIdentifier = internalSecurityService.getTenantIdentifier();
AuthUserDto authUserDto = internalSecurityService.getUser();
String externalParamIdentifier =
......@@ -140,7 +140,7 @@ public class ExternalParamProfileInternalService {
entityDto.isEnabled(),
false,
"",
authUserDto.getProofTenantIdentifier(),
tenantIdentifier,
CommonConstants.EXTERNAL_PARAMS_APP,
List.of(
ServicesData.ROLE_GET_ACCESS_CONTRACT_EXTERNAL_PARAM_PROFILE,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment