How do I create/edit a user role to view only data from a particular country?

Question

How do I create a user that has access to only view data from a particular country in the tenant?

Answer

The user roles need to be filtered in order to provide the country-specific implementation for the user. Please refer to the sample API call below for reference:

  {
        "role": "ROLE_EDITOR",
        "access": [
          "READ",
          "CREATE",
          "UPDATE",
          "DELETE",
          "UNMERGE",
          "MERGE"
        ]
      },
{
    "uri": "configuration/entityTypes/HCP",
    "permissions": [
      {
        "role": "ROLE_EDITOR",

        "filter": " equals(attributes.Address.Country, 'United States')",‚Äč
        "access": [
          "READ",
          "DELETE"
        ]
      }
    ]
  }

Additional details are provided in our documentation portal, links below. 

References

https://docs.reltio.com/security/listofnewapis.html?hl=user%2Cmanagement%2Capi

https://docs.reltio.com/security/permissionsframework.html

Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.