Merge remote-tracking branch 'origin/main' into feature/bpmn_user_permissions
This commit is contained in:
commit
624811a7c0
|
@ -9,5 +9,5 @@ permissions:
|
||||||
admin:
|
admin:
|
||||||
groups: [admin, common-user]
|
groups: [admin, common-user]
|
||||||
users: []
|
users: []
|
||||||
allowed_permissions: [create, read, update, delete, list, instantiate]
|
allowed_permissions: [create, read, update, delete]
|
||||||
uri: /*
|
uri: /*
|
||||||
|
|
|
@ -20,7 +20,6 @@ groups:
|
||||||
jarrad,
|
jarrad,
|
||||||
elizabeth,
|
elizabeth,
|
||||||
jon,
|
jon,
|
||||||
natalia,
|
|
||||||
]
|
]
|
||||||
|
|
||||||
Finance Team:
|
Finance Team:
|
||||||
|
@ -35,7 +34,6 @@ groups:
|
||||||
jarrad,
|
jarrad,
|
||||||
elizabeth,
|
elizabeth,
|
||||||
jon,
|
jon,
|
||||||
natalia,
|
|
||||||
sasha,
|
sasha,
|
||||||
fin,
|
fin,
|
||||||
fin1,
|
fin1,
|
||||||
|
@ -67,6 +65,9 @@ groups:
|
||||||
j,
|
j,
|
||||||
]
|
]
|
||||||
|
|
||||||
|
test:
|
||||||
|
users: [natalia]
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
admin:
|
admin:
|
||||||
groups: [admin]
|
groups: [admin]
|
||||||
|
@ -126,12 +127,6 @@ permissions:
|
||||||
users: []
|
users: []
|
||||||
allowed_permissions: [read]
|
allowed_permissions: [read]
|
||||||
uri: /v1.0/processes
|
uri: /v1.0/processes
|
||||||
#
|
|
||||||
# task-data-read:
|
|
||||||
# groups: [demo]
|
|
||||||
# users: []
|
|
||||||
# allowed_permissions: [read]
|
|
||||||
# uri: /v1.0/task-data/*
|
|
||||||
|
|
||||||
|
|
||||||
manage-procurement-admin:
|
manage-procurement-admin:
|
||||||
|
@ -171,44 +166,30 @@ permissions:
|
||||||
allowed_permissions: [create, read, update, delete]
|
allowed_permissions: [create, read, update, delete]
|
||||||
uri: /v1.0/process-groups/manage-procurement:procurement:*
|
uri: /v1.0/process-groups/manage-procurement:procurement:*
|
||||||
|
|
||||||
manage-revenue-streams-instantiate:
|
|
||||||
groups: ["core-contributor", "demo"]
|
|
||||||
users: []
|
|
||||||
allowed_permissions: [create]
|
|
||||||
uri: /v1.0/process-models/manage-revenue-streams:product-revenue-streams:customer-contracts-trade-terms/*
|
|
||||||
manage-revenue-streams-instances:
|
manage-revenue-streams-instances:
|
||||||
groups: ["core-contributor", "demo"]
|
groups: ["core-contributor", "demo"]
|
||||||
users: []
|
users: []
|
||||||
allowed_permissions: [create, read]
|
allowed_permissions: [create, read]
|
||||||
uri: /v1.0/process-instances/manage-revenue-streams:product-revenue-streams:customer-contracts-trade-terms/*
|
uri: /v1.0/process-instances/manage-revenue-streams:product-revenue-streams:customer-contracts-trade-terms/*
|
||||||
|
|
||||||
manage-procurement-invoice-instantiate:
|
|
||||||
groups: ["core-contributor", "demo"]
|
|
||||||
users: []
|
|
||||||
allowed_permissions: [create]
|
|
||||||
uri: /v1.0/process-models/manage-procurement:procurement:core-contributor-invoice-management:*
|
|
||||||
manage-procurement-invoice-instances:
|
manage-procurement-invoice-instances:
|
||||||
groups: ["core-contributor", "demo"]
|
groups: ["core-contributor", "demo"]
|
||||||
users: []
|
users: []
|
||||||
allowed_permissions: [create, read]
|
allowed_permissions: [create, read]
|
||||||
uri: /v1.0/process-instances/manage-procurement:procurement:core-contributor-invoice-management:*
|
uri: /v1.0/process-instances/manage-procurement:procurement:core-contributor-invoice-management:*
|
||||||
|
|
||||||
manage-procurement-instantiate:
|
|
||||||
groups: ["core-contributor", "demo"]
|
|
||||||
users: []
|
|
||||||
allowed_permissions: [create]
|
|
||||||
uri: /v1.0/process-models/manage-procurement:vendor-lifecycle-management:*
|
|
||||||
manage-procurement-instances:
|
manage-procurement-instances:
|
||||||
groups: ["core-contributor", "demo"]
|
groups: ["core-contributor", "demo"]
|
||||||
users: []
|
users: []
|
||||||
allowed_permissions: [create, read]
|
allowed_permissions: [create, read]
|
||||||
uri: /v1.0/process-instances/manage-procurement:vendor-lifecycle-management:*
|
uri: /v1.0/process-instances/manage-procurement:vendor-lifecycle-management:*
|
||||||
|
|
||||||
core1-admin-models-instantiate:
|
create-test-instances:
|
||||||
groups: ["core-contributor", "Finance Team"]
|
groups: ["test"]
|
||||||
users: []
|
users: []
|
||||||
allowed_permissions: [create]
|
allowed_permissions: [create, read]
|
||||||
uri: /v1.0/process-models/misc:category_number_one:process-model-with-form/process-instances
|
uri: /v1.0/process-instances/misc:test:*
|
||||||
|
|
||||||
core1-admin-instances:
|
core1-admin-instances:
|
||||||
groups: ["core-contributor", "Finance Team"]
|
groups: ["core-contributor", "Finance Team"]
|
||||||
users: []
|
users: []
|
||||||
|
|
|
@ -80,6 +80,11 @@ permissions:
|
||||||
users: []
|
users: []
|
||||||
allowed_permissions: [read]
|
allowed_permissions: [read]
|
||||||
uri: /v1.0/service-tasks
|
uri: /v1.0/service-tasks
|
||||||
|
user-groups-for-current-user:
|
||||||
|
groups: [everybody]
|
||||||
|
users: []
|
||||||
|
allowed_permissions: [read]
|
||||||
|
uri: /v1.0/user-groups/for-current-user
|
||||||
|
|
||||||
|
|
||||||
# read all for everybody
|
# read all for everybody
|
||||||
|
|
|
@ -75,6 +75,11 @@ permissions:
|
||||||
users: []
|
users: []
|
||||||
allowed_permissions: [read]
|
allowed_permissions: [read]
|
||||||
uri: /v1.0/service-tasks
|
uri: /v1.0/service-tasks
|
||||||
|
user-groups-for-current-user:
|
||||||
|
groups: [everybody]
|
||||||
|
users: []
|
||||||
|
allowed_permissions: [read]
|
||||||
|
uri: /v1.0/user-groups/for-current-user
|
||||||
|
|
||||||
|
|
||||||
# read all for everybody
|
# read all for everybody
|
||||||
|
@ -104,12 +109,6 @@ permissions:
|
||||||
allowed_permissions: [read]
|
allowed_permissions: [read]
|
||||||
uri: /v1.0/processes
|
uri: /v1.0/processes
|
||||||
|
|
||||||
task-data-read:
|
|
||||||
groups: [demo]
|
|
||||||
users: []
|
|
||||||
allowed_permissions: [read]
|
|
||||||
uri: /v1.0/task-data/*
|
|
||||||
|
|
||||||
|
|
||||||
manage-procurement-admin:
|
manage-procurement-admin:
|
||||||
groups: ["Project Lead"]
|
groups: ["Project Lead"]
|
||||||
|
|
|
@ -74,9 +74,9 @@ export default function ProcessInstanceShow() {
|
||||||
[targetUris.processInstanceActionPath]: ['DELETE'],
|
[targetUris.processInstanceActionPath]: ['DELETE'],
|
||||||
[targetUris.processInstanceLogListPath]: ['GET'],
|
[targetUris.processInstanceLogListPath]: ['GET'],
|
||||||
[targetUris.processModelShowPath]: ['PUT'],
|
[targetUris.processModelShowPath]: ['PUT'],
|
||||||
[`${targetUris.processInstanceActionPath}/suspend`]: ['PUT'],
|
[`${targetUris.processInstanceActionPath}/suspend`]: ['POST'],
|
||||||
[`${targetUris.processInstanceActionPath}/terminate`]: ['PUT'],
|
[`${targetUris.processInstanceActionPath}/terminate`]: ['POST'],
|
||||||
[`${targetUris.processInstanceActionPath}/resume`]: ['PUT'],
|
[`${targetUris.processInstanceActionPath}/resume`]: ['POST'],
|
||||||
};
|
};
|
||||||
const { ability, permissionsLoaded } = usePermissionFetcher(
|
const { ability, permissionsLoaded } = usePermissionFetcher(
|
||||||
permissionRequestData
|
permissionRequestData
|
||||||
|
|
Loading…
Reference in New Issue