Skip to content

Commit

Permalink
Add permission settings in helm values
Browse files Browse the repository at this point in the history
  • Loading branch information
HenryT-CG authored Feb 20, 2024
1 parent 4b7750f commit 08a48e6
Showing 1 changed file with 34 additions and 24 deletions.
58 changes: 34 additions & 24 deletions helm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,31 +4,41 @@ app:
repository: 'onecx/onecx-product-store-ui'
routing:
enabled: true
path: /mfe/product-store/

operator:
apm:
enabled: false
keycloak:
# Microfrontend
microfrontend:
enabled: true
spec:
exposedModule: "./OneCXProductStoreModule"
description: "OneCX Product Store UI"
note: "OneCX Product Store UI module auto import via MF operator"
# Permission
permission:
enabled: true
client: |-
{
"clientId": "product-store-ui",
"enabled": true,
"description": "Keycloak client for product-store-ui",
"redirectUris": ["*"],
"webOrigins": ["*"],
"publicClient": true,
"protocol": "openid-connect"
}
roles: |-
[
{
"name": "onecx-product-store-admin",
"description": "OneCX Product Store admin"
},
{
"name": "onecx-product-store-user",
"description": "OneCX Product Store user"
}
]
spec:
permissions:
APP:
CREATE: Create app
DELETE: Delete app
EDIT: Edit app
SAVE: Update and save app
SEARCH: Search apps
VIEW: View app details
PRODUCT:
CREATE: Create product
DELETE: Delete product
EDIT: Edit product
SAVE: Update and save product
SEARCH: Search products
VIEW: View product details
# Keycloak
keycloak:
client:
enabled: true
spec:
kcConfig:
clientId: "onecx-product-store-ui"

# PIPE Config

0 comments on commit 08a48e6

Please sign in to comment.