Skip to content

Commit

Permalink
chore: add configuration for provider only roles
Browse files Browse the repository at this point in the history
  • Loading branch information
Phil91 committed Feb 5, 2025
1 parent a40e2c6 commit 4c269cb
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -480,6 +480,14 @@ spec:
value: "{{ .Values.centralidp.clients.technicalRolesManagement }}"
- name: "SERVICEACCOUNT__DIMUSERROLES__0__USERROLENAMES__0"
value: "{{ .Values.backend.administration.serviceAccount.dimCreationRoles.role0 }}"
- name: "SERVICEACCOUNT__USERROLESACCESSIBLEBYPROVIDERONLY__0__CLIENTID"
value: "{{ .Values.centralidp.clients.technicalRolesManagement }}"
- name: "SERVICEACCOUNT__USERROLESACCESSIBLEBYPROVIDERONLY__0__USERROLENAMES__0"
value: "{{ .Values.backend.administration.serviceAccount.userRolesAccessibleByProviderOnly.role0 }}"
- name: "SERVICEACCOUNT__USERROLESACCESSIBLEBYPROVIDERONLY__0__USERROLENAMES__1"
value: "{{ .Values.backend.administration.serviceAccount.userRolesAccessibleByProviderOnly.role1 }}"
- name: "SERVICEACCOUNT__USERROLESACCESSIBLEBYPROVIDERONLY__0__USERROLENAMES__2"
value: "{{ .Values.backend.administration.serviceAccount.userRolesAccessibleByProviderOnly.role2 }}"
- name: "SWAGGERENABLED"
value: "{{ .Values.backend.administration.swaggerEnabled }}"
- name: "USERMANAGEMENT__COMPANYUSERSTATUSIDS__0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,14 @@ spec:
value: "{{ .Values.centralidp.clients.technicalRolesManagement }}"
- name: "APPMARKETPLACE__DIMUSERROLES__0__USERROLENAMES__0"
value: "{{ .Values.backend.administration.serviceAccount.dimCreationRoles.role0 }}"
- name: "APPMARKETPLACE__USERROLESACCESSIBLEBYPROVIDERONLY__0__CLIENTID"
value: "{{ .Values.centralidp.clients.technicalRolesManagement }}"
- name: "APPMARKETPLACE__USERROLESACCESSIBLEBYPROVIDERONLY__0__USERROLENAMES__0"
value: "{{ .Values.backend.administration.serviceAccount.userRolesAccessibleByProviderOnly.role0 }}"
- name: "APPMARKETPLACE__USERROLESACCESSIBLEBYPROVIDERONLY__0__USERROLENAMES__1"
value: "{{ .Values.backend.administration.serviceAccount.userRolesAccessibleByProviderOnly.role1 }}"
- name: "APPMARKETPLACE__USERROLESACCESSIBLEBYPROVIDERONLY__0__USERROLENAMES__2"
value: "{{ .Values.backend.administration.serviceAccount.userRolesAccessibleByProviderOnly.role2 }}"
- name: "APPMARKETPLACE__BPNDIDRESOLVERURL"
value: "{{ .Values.bpnDidResolver.directoryApiAddress }}"
- name: "HEALTHCHECKS__0__PATH"
Expand Down
8 changes: 8 additions & 0 deletions charts/portal/templates/deployment-backend-services.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,14 @@ spec:
value: "{{ .Values.centralidp.clients.technicalRolesManagement }}"
- name: "SERVICES__DIMUSERROLES__0__USERROLENAMES__0"
value: "{{ .Values.backend.administration.serviceAccount.dimCreationRoles.role0 }}"
- name: "SERVICES__USERROLESACCESSIBLEBYPROVIDERONLY__0__CLIENTID"
value: "{{ .Values.centralidp.clients.technicalRolesManagement }}"
- name: "SERVICES__USERROLESACCESSIBLEBYPROVIDERONLY__0__USERROLENAMES__0"
value: "{{ .Values.backend.administration.serviceAccount.userRolesAccessibleByProviderOnly.role0 }}"
- name: "SERVICES__USERROLESACCESSIBLEBYPROVIDERONLY__0__USERROLENAMES__1"
value: "{{ .Values.backend.administration.serviceAccount.userRolesAccessibleByProviderOnly.role1 }}"
- name: "SERVICES__USERROLESACCESSIBLEBYPROVIDERONLY__0__USERROLENAMES__2"
value: "{{ .Values.backend.administration.serviceAccount.userRolesAccessibleByProviderOnly.role2 }}"
- name: "MAILINGPROCESSCREATION__ENCRYPTIONCONFIGINDEX"
value: "{{ .Values.backend.processesworker.mailing.encryptionConfigIndex }}"
- name: "MAILINGPROCESSCREATION__ENCRYPTIONCONFIGS__0__INDEX"
Expand Down
5 changes: 4 additions & 1 deletion charts/portal/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ bpdm:
poolAddress: "https://business-partners.example.org"
# -- Provide bpdm pool api path.
poolApiPath: "/pool/v6"
# -- Provide bpdm portal gate base address.
# -- Provide bpdm portal gate base address.467

portalGateAddress: "https://business-partners.example.org"
# -- Provide bpdm portal gate api path.
portalGateApiPath: "/companies/test-company/v6"
Expand Down Expand Up @@ -464,6 +465,8 @@ backend:
encryptionKey: ""
dimCreationRoles:
role0: "Identity Wallet Management"
# -- Configuration for the technical user configuration.
# If a technical user profile contains a role which is configured here, it will be only visible for the provider
userRolesAccessibleByProviderOnly:
role0: "BPDM Pool Consumer"
role1: "BPDM Sharing Output Consumer"
Expand Down

0 comments on commit 4c269cb

Please sign in to comment.