Skip to content

Commit

Permalink
Changes to permission labels to match with re-design terminology (AOT…
Browse files Browse the repository at this point in the history
  • Loading branch information
sumesh-aot authored Dec 18, 2024
1 parent 9b428df commit ff10d67
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,16 @@


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]},
{"name": CREATE_SUBMISSIONS , "description": "Create submissions", "depends_on": []},
{"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": []},
Expand Down
6 changes: 3 additions & 3 deletions forms-flow-api/tests/docker/realms/forms-flow-ai-realm.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {}
Expand Down Expand Up @@ -297,7 +297,7 @@
},
{
"name": "view_designs",
"description": "Access to design",
"description": "Access to designs",
"composite": false,
"clientRole": true,
"attributes": {}
Expand Down Expand Up @@ -346,7 +346,7 @@
},
{
"name": "create_designs",
"description": "Create Form, workflow designs",
"description": "Design layout and flow",
"composite": false,
"clientRole": true,
"attributes": {}
Expand Down
6 changes: 3 additions & 3 deletions forms-flow-idm/keycloak/imports/formsflow-ai-realm.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {}
Expand Down Expand Up @@ -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": {}
Expand Down
6 changes: 3 additions & 3 deletions forms-flow-idm/migration/migrate-7.0.0.py
Original file line number Diff line number Diff line change
Expand Up @@ -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": {}
Expand Down Expand Up @@ -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": {}
Expand Down
6 changes: 3 additions & 3 deletions forms-flow-idm/realm-exports/Group based auth.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {}
Expand Down Expand Up @@ -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": {}
Expand Down

0 comments on commit ff10d67

Please sign in to comment.