diff --git a/forms-flow-api-utils/src/formsflow_api_utils/utils/permisions.py b/forms-flow-api-utils/src/formsflow_api_utils/utils/permisions.py index f4e72c0a1..3341433ce 100644 --- a/forms-flow-api-utils/src/formsflow_api_utils/utils/permisions.py +++ b/forms-flow-api-utils/src/formsflow_api_utils/utils/permisions.py @@ -21,8 +21,8 @@ PERMISSION_DETAILS = [ - {"name": CREATE_DESIGNS , "description": "Create Form, workflow designs", "depends_on": [ VIEW_DESIGNS ]}, - {"name": VIEW_DESIGNS , "description": "Access to design", "depends_on": []}, + {"name": CREATE_DESIGNS , "description": "Design layout and flow", "depends_on": [ VIEW_DESIGNS ]}, + {"name": VIEW_DESIGNS , "description": "Access to designs", "depends_on": []}, {"name": CREATE_BPMN_FLOWS , "description": "Access to BPMN workflows", "depends_on": [CREATE_DESIGNS]}, {"name": MANAGE_SUBFLOWS , "description": "Access to Subflows", "depends_on": [CREATE_DESIGNS]}, {"name": MANAGE_DECISION_TABLES , "description": "Access to Decision Tables", "depends_on": [CREATE_DESIGNS]}, @@ -30,7 +30,7 @@ {"name": VIEW_SUBMISSIONS , "description": "Access to submissions", "depends_on": []}, {"name": VIEW_DASHBOARDS , "description": "Access to dashboards", "depends_on": []}, {"name": VIEW_TASKS , "description": "Access to tasks", "depends_on": [ VIEW_FILTERS ]}, - {"name": MANAGE_TASKS , "description": "Can claim and work on tasks", "depends_on": [ VIEW_TASKS , VIEW_FILTERS ]}, + {"name": MANAGE_TASKS , "description": "Can assign, re-assign and work on tasks", "depends_on": [ VIEW_TASKS , VIEW_FILTERS ]}, {"name": MANAGE_ALL_FILTERS , "description": "Manage all filters", "depends_on": [ VIEW_FILTERS , CREATE_FILTERS ]}, {"name": CREATE_FILTERS , "description": "Access to create filters", "depends_on": [ VIEW_FILTERS ]}, {"name": VIEW_FILTERS , "description": "Access to view filters", "depends_on": []}, diff --git a/forms-flow-api/tests/docker/realms/forms-flow-ai-realm.json b/forms-flow-api/tests/docker/realms/forms-flow-ai-realm.json index bdb65c3c8..1f0dd06e8 100644 --- a/forms-flow-api/tests/docker/realms/forms-flow-ai-realm.json +++ b/forms-flow-api/tests/docker/realms/forms-flow-ai-realm.json @@ -262,7 +262,7 @@ }, { "name": "manage_tasks", - "description": "Can claim and work on tasks", + "description": "Can assign, re-assign and work on tasks", "composite": false, "clientRole": true, "attributes": {} @@ -297,7 +297,7 @@ }, { "name": "view_designs", - "description": "Access to design", + "description": "Access to designs", "composite": false, "clientRole": true, "attributes": {} @@ -346,7 +346,7 @@ }, { "name": "create_designs", - "description": "Create Form, workflow designs", + "description": "Design layout and flow", "composite": false, "clientRole": true, "attributes": {} diff --git a/forms-flow-idm/keycloak/imports/formsflow-ai-realm.json b/forms-flow-idm/keycloak/imports/formsflow-ai-realm.json index 44eba8ae3..5bbde92df 100644 --- a/forms-flow-idm/keycloak/imports/formsflow-ai-realm.json +++ b/forms-flow-idm/keycloak/imports/formsflow-ai-realm.json @@ -25,14 +25,14 @@ }, { "name": "view_designs", - "description": "Access to design", + "description": "Access to designs", "composite": false, "clientRole": true, "attributes": {} }, { "name": "create_designs", - "description": "Create Form, workflow designs", + "description": "Design layout and flow", "composite": false, "clientRole": true, "attributes": {} @@ -67,7 +67,7 @@ }, { "name": "manage_tasks", - "description": "Can claim and work on tasks", + "description": "Can assign, re-assign and work on tasks", "composite": false, "clientRole": true, "attributes": {} diff --git a/forms-flow-idm/migration/migrate-7.0.0.py b/forms-flow-idm/migration/migrate-7.0.0.py index 24e2c3fe0..b6711fbb3 100644 --- a/forms-flow-idm/migration/migrate-7.0.0.py +++ b/forms-flow-idm/migration/migrate-7.0.0.py @@ -13,14 +13,14 @@ }, { "name": "view_designs", - "description": "Access to design", + "description": "Access to designs", "composite": False, "clientRole": True, "attributes": {} }, { "name": "create_designs", - "description": "Create Form, workflow designs", + "description": "Design layout and flow", "composite": False, "clientRole": True, "attributes": {} @@ -55,7 +55,7 @@ }, { "name": "manage_tasks", - "description": "Can claim and work on tasks", + "description": "Can assign, re-assign and work on tasks", "composite": False, "clientRole": True, "attributes": {} diff --git a/forms-flow-idm/realm-exports/Group based auth.json b/forms-flow-idm/realm-exports/Group based auth.json index 72dbd4f50..4f3926205 100644 --- a/forms-flow-idm/realm-exports/Group based auth.json +++ b/forms-flow-idm/realm-exports/Group based auth.json @@ -25,14 +25,14 @@ }, { "name": "view_designs", - "description": "Access to design", + "description": "Access to designs", "composite": false, "clientRole": true, "attributes": {} }, { "name": "create_designs", - "description": "Create Form, workflow designs", + "description": "Design layout and flow", "composite": false, "clientRole": true, "attributes": {} @@ -67,7 +67,7 @@ }, { "name": "manage_tasks", - "description": "Can claim and work on tasks", + "description": "Can assign, re-assign and work on tasks", "composite": false, "clientRole": true, "attributes": {}