From 30e2c852f3f336e5f4ea5c99669a54f282e9154d Mon Sep 17 00:00:00 2001 From: burnettk Date: Wed, 23 Nov 2022 10:49:26 -0500 Subject: [PATCH] update permissions per feedback in demo --- .../config/permissions/development.yml | 12 ++++++------ .../permissions/terraform_deployed_environment.yml | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/spiffworkflow-backend/src/spiffworkflow_backend/config/permissions/development.yml b/spiffworkflow-backend/src/spiffworkflow_backend/config/permissions/development.yml index e36ef759c..bd3ab9517 100644 --- a/spiffworkflow-backend/src/spiffworkflow_backend/config/permissions/development.yml +++ b/spiffworkflow-backend/src/spiffworkflow_backend/config/permissions/development.yml @@ -75,26 +75,26 @@ permissions: allowed_permissions: [read] uri: /* - read-process-group-list: + read-all-process-groups: groups: [everybody] users: [] allowed_permissions: [read] - uri: /v1.0/process-groups - read-process-model-list: + uri: /v1.0/process-groups/* + read-all-process-models: groups: [everybody] users: [] allowed_permissions: [read] - uri: /v1.0/process-models + uri: /v1.0/process-models/* read-process-instance-list: groups: [everybody] users: [] allowed_permissions: [read] uri: /v1.0/process-instances - read-process-instance-report-list: + read-process-instance-reports: groups: [everybody] users: [] allowed_permissions: [read] - uri: /v1.0/process-instances/reports + uri: /v1.0/process-instances/reports/* manage-procurement-admin: groups: ["Project Lead"] diff --git a/spiffworkflow-backend/src/spiffworkflow_backend/config/permissions/terraform_deployed_environment.yml b/spiffworkflow-backend/src/spiffworkflow_backend/config/permissions/terraform_deployed_environment.yml index e7fb7f8fe..3d56d25ac 100644 --- a/spiffworkflow-backend/src/spiffworkflow_backend/config/permissions/terraform_deployed_environment.yml +++ b/spiffworkflow-backend/src/spiffworkflow_backend/config/permissions/terraform_deployed_environment.yml @@ -75,26 +75,26 @@ permissions: allowed_permissions: [read] uri: /* - read-process-group-list: + read-all-process-groups: groups: [everybody] users: [] allowed_permissions: [read] - uri: /v1.0/process-groups - read-process-model-list: + uri: /v1.0/process-groups/* + read-all-process-models: groups: [everybody] users: [] allowed_permissions: [read] - uri: /v1.0/process-models + uri: /v1.0/process-models/* read-process-instance-list: groups: [everybody] users: [] allowed_permissions: [read] uri: /v1.0/process-instances - read-process-instance-report-list: + read-process-instance-reports: groups: [everybody] users: [] allowed_permissions: [read] - uri: /v1.0/process-instances/reports + uri: /v1.0/process-instances/reports/* manage-procurement-admin: groups: ["Project Lead"]