Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Knowledge of DIGIT applications is required.

  • User should be aware of transactional steps in the DIGIT application.

  • Knowledge of json and how to write a json is required.

  • Knowledge of MDMS is required.

  • User with permissions to edit the git repository where MDMS data is configured.

Key Functionalities

  • With mapping Mapping Roles with APIs, permission to perform certain task can be restricted based on the requirement.
    For example Only user with Role TL Counter Employee or Citizen can initiate the Trade License application.

...

5. Mapping of Roles and APIs/action are added in roleactions.json, under folder
ACCESSCONTROL-ROLEACTIONS.
Sample mapping:

Code Block
{
  "tenantId": "uk",
  "moduleName": "ACCESSCONTROL-ROLEACTIONS",
  "roleactions": [
    {
      "rolecode": "TL_CEMP",
      "actionid": 1685,
      "actioncode": "",
      "tenantId": "uk"
    },
    {
      "rolecode": "CITIZEN",
      "actionid": 1685,
      "actioncode": "",
      "tenantId": "uk"
    }
  ]
}

6. Role and API/action mapping is added as an array element under array roleactions.
7. Each mapping is defined with key-value pairs. keys are rolecode, actionid, actioncode and tenantId.

Sr. No.

key

Is Mandatory?

Definition/ Description

1

rolecode

Yes

The unique code of the role which is defined in roles.json and which required mapping for API.

2

actionid

Yes

The unique id of the API/action which is defined in actions-test.json and which is required to be mapped with the role.

3

actioncode

No

The code of the API/action which is defined in actions-test.json and which is required to be mapped with the role.

4

tenantid

Yes

tenant id of state.

Reference Docs