Skip to content

Commit

Permalink
Add roleaction mappings, project master data
Browse files Browse the repository at this point in the history
  • Loading branch information
chetankolte1 committed Apr 20, 2023
1 parent 83235ea commit 3269b49
Show file tree
Hide file tree
Showing 13 changed files with 836 additions and 0 deletions.
42 changes: 42 additions & 0 deletions data/od/ACCESSCONTROL-ACTIONS-TEST/actions-test.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{
"tenantId": "od",
"moduleName": "ACCESSCONTROL-ACTIONS-TEST",
"actions-test": [
{
"id": 51,
"name": "Create Project",
"url": "/pms/project/v1/_create",
"parentModule": "project-management-system",
"displayName": "Create Project",
"orderNumber": 0,
"enabled": false,
"serviceCode": "project-management-system",
"code": "null",
"path": ""
},
{
"id": 52,
"name": "Search Project",
"url": "/pms/project/v1/_search",
"parentModule": "project-management-system",
"displayName": "Search Project",
"orderNumber": 0,
"enabled": false,
"serviceCode": "project-management-system",
"code": "null",
"path": ""
},
{
"id": 53,
"name": "Update Project",
"url": "/pms/project/v1/_update",
"parentModule": "project-management-system",
"displayName": "Update Project",
"orderNumber": 0,
"enabled": false,
"serviceCode": "project-management-system",
"code": "null",
"path": ""
}
]
}
30 changes: 30 additions & 0 deletions data/od/ACCESSCONTROL-ROLEACTIONS/roleactions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"tenantId": "od",
"moduleName": "ACCESSCONTROL-ROLEACTIONS",
"roleactions": [
{
"rolecode": "PROJECT_CREATOR",
"actionid": 51,
"actioncode": "",
"tenantId": "od"
},
{
"rolecode": "PROJECT_CREATOR",
"actionid": 52,
"actioncode": "",
"tenantId": "od"
},
{
"rolecode": "PROJECT_CREATOR",
"actionid": 53,
"actioncode": "",
"tenantId": "od"
},
{
"rolecode": "PROJECT_VIEWER",
"actionid": 52,
"actioncode": "",
"tenantId": "od"
}
]
}
116 changes: 116 additions & 0 deletions data/od/ACCESSCONTROL-ROLES/roles.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,116 @@
{
"tenantId": "od",
"moduleName": "ACCESSCONTROL-ROLES",
"roles": [
{
"code": "CITIZEN",
"name": "Citizen",
"description": "Default role for citizen"
},
{
"code": "EMPLOYEE",
"name": "Employee",
"description": "Default role for all employees"
},
{
"code": "SUPERUSER",
"name": "SUPER USER",
"description": "SUPER USER"
},
{
"code": "PROJECT_CREATOR",
"name": "PROJECT CREATOR",
"description": "Project Creator"
},
{
"code": "PROJECT_VIEWER",
"name": "PROJECT VIEWER",
"description": "Project Viewer"
},
{
"code": "ESTIMATE_CREATOR",
"name": "ESTIMATE CREATOR",
"description": "Estimate Creator"
},
{
"code": "ESTIMATE_VERIFIER",
"name": "ESTIMATE VERIFIER",
"description": "Estimate Verifier"
},
{
"code": "TECHNICAL_SANCTIONER",
"name": "TECHNICAL SANCTIONER",
"description": "Technical sanctioner"
},
{
"code": "ESTIMATE_APPROVER",
"name": "ESTIMATE APPROVER",
"description": "Estimate Approver"
},
{
"code": "WORK_ORDER_CREATOR",
"name": "WORK ORDER CREATOR",
"description": "Work Order Creator"
},
{
"code": "WORK_ORDER_VIEWER",
"name": "WORK ORDER VIEWER",
"description": "Work Order Viewer"
},
{
"code": "WORK_ORDER_APPROVER",
"name": "WORK ORDER APPROVER",
"description": "Work Order Approver"
},
{
"code": "MUSTER_ROLL_VERIFIER",
"name": "MUSTER ROLL VERIFIER",
"description": "Muster Roll Verifier"
},
{
"code": "MUSTER_ROLL_APPROVER",
"name": "MUSTER ROLL APPROVER",
"description": "Muster Roll Approver"
},
{
"code": "MUKTA_ADMIN",
"name": "MUKTA Admin",
"description": "MUKTA Admin"
},
{
"code": "HRMS_ADMIN",
"name": "HRMS Admin",
"description": "HRMS Admin"
},
{
"code": "STADMIN",
"name": "State Dashboard Admin",
"description": "Dashboard Viewer"
},
{
"code": "ORG_ADMIN",
"name": "Organization admin",
"description": "CBO Admin"
},
{
"code": "BILL_CREATOR",
"name": "BILL_CREATOR",
"description": "Bill Creator"
},
{
"code": "BILL_VIEWER",
"name": "BILL_VIEWER",
"description": "Bill Viewer"
},
{
"code": "EMPLOYEE_COMMON",
"name": "Employee Common",
"description": "Common Role For all employee"
},
{
"code": "ESTIMATE_VIEWER",
"name": "ESTIMATE VIEWER",
"description": "Estimate Viewer"
}
]
}
46 changes: 46 additions & 0 deletions data/od/common-masters/Department.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
{
"tenantId": "pg",
"moduleName": "common-masters",
"Department": [
{
"name": "Administration",
"code": "ADM",
"active": true
},
{
"name": "Tax",
"code": "REV",
"active": true
},
{
"name": "Accounts",
"code": "ACC",
"active": true
},
{
"name": "Public Health and Sanitation",
"code": "PHS",
"active": true
},
{
"name": "Works",
"code": "WRK",
"active": true
},
{
"name": "Town Planning",
"code": "TWP",
"active": true
},
{
"name": "National Urban Livelihood Mission",
"code": "NULM",
"active": true
},
{
"name": "Public Relations",
"code": "PR",
"active": true
}
]
}
Loading

0 comments on commit 3269b49

Please sign in to comment.