Skip to content

Commit

Permalink
feat: activate data-import
Browse files Browse the repository at this point in the history
  • Loading branch information
andrejpetras committed Mar 8, 2024
1 parent 317a16a commit 734ebba
Showing 1 changed file with 101 additions and 1 deletion.
102 changes: 101 additions & 1 deletion src/main/helm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,104 @@ app:
image:
repository: "onecx/onecx-permission-svc"
db:
enabled: true
enabled: true
config:
enabled: true
values: |
tkit.dataimport.enabled=true
tkit.dataimport.configurations.permission.file=/deployments/data/data-import.json
tkit.dataimport.configurations.permission.enabled=true
data:
import:
enabled: true
mountPath: /deployments/data/data-import.json
values: |-
{
"products" : {
"onecx-permission" : {
"applications": {
"onecx-permission-bff": {
"name": "onecx-permission-bff",
"description": "onecx-permission-bff",
"permissions": {
"permission": {
"read": "permission on all GET requests and POST search",
"write": "permission on PUT, POST, PATCH requests, where objects are saved or updated",
"delete": "permission on all DELETE requests"
},
"role": {
"read": "role on all GET requests and POST search",
"write": "role on PUT, POST, PATCH requests, where objects are saved or updated",
"delete": "role on all DELETE requests"
},
"assignment": {
"read": "assignment on all GET requests and POST search",
"write": "assignment on PUT, POST, PATCH requests, where objects are saved or updated",
"delete": "assignment on all DELETE requests"
},
"application": {
"read": "application on all GET requests and POST search",
"write": "application on PUT, POST, PATCH requests, where objects are saved or updated",
"delete": "application on all DELETE requests"
},
"workspace": {
"read": "workspace on all GET requests and POST search",
"write": "workspace on PUT, POST, PATCH requests, where objects are saved or updated",
"delete": "workspace on all DELETE requests"
}
}
},
"onecx-permission-ui": {
"name": "onecx-permission-ui",
"description": "onecx-permission-ui",
"permissions": {
"APP": {
"EDIT": "Edit app",
"SAVE": "Update and save app",
"SEARCH": "Search apps",
"VIEW": "View mode for app"
},
"PERMISSION": {
"GRANT": "Assign or remove assignment of a permission to a role",
"CREATE": "Create permission",
"DELETE": "Delete permission",
"EDIT": "Edit app",
"SAVE": "Update and save app"
},
"ROLE": {
"CREATE": "Create role",
"DELETE": "Delete role",
"EDIT": "Edit app",
"SAVE": "Update and save app"
}
}
}
}
}
},
"tenants": {
"default": {
"roles": {
"onecx-admin": {
"description": "onecx-admin",
"assignments": {
"onecx-permission": {
"onecx-permission-bff": {
"permission": [ "read", "write", "delete"],
"role": [ "read", "write", "delete"],
"assignment": [ "read", "write", "delete"],
"application": [ "read", "write", "delete"],
"workspace": [ "read", "write", "delete"]
},
"onecx-permission-ui": {
"APP": [ "EDIT", "SAVE", "SEARCH", "VIEW" ],
"PERMISSION": [ "GRANT", "CREATE", "DELETE", "EDIT", "SAVE" ],
"ROLE": [ "CREATE", "DELETE", "EDIT", "SAVE" ]
}
}
}
}
}
}
}
}

0 comments on commit 734ebba

Please sign in to comment.