Reltio Connect

 View Only
  • 1.  Readonly Attribute

    Posted 12-16-2023 22:23

    Hi Team,

    It may be a silly question but I am a new developer in reltio so please pardon me, how to make a simple attribute "ReadOnly" in reltio?



    ------------------------------
    Abhimanyu Kumar
    GSK
    Cary NC
    ------------------------------


  • 2.  RE: Readonly Attribute

    Reltio Employee
    Posted 12-18-2023 10:35

    Hi Abhimanyu

    One way to set the permissions of an attribute to be 'Read Only' is by using Metadata Security.

    Using metadata security configuration, we can define the access to each entity, attribute etc., role wise. 

    Sample config: 

    [ {
        "uri": "configuration/entityTypes/HCP/attributes/HCPId",
        "permissions": [
          {
            "role": "ROLE_SAMPLE_ADMIN",
            "access": [
              "MERGE",
              "UNMERGE",
              "READ",
              "UPDATE",
              "CREATE"
            ]
          },
          {
            "role": "ROLE_SAMPLE_READONLY",
            "access": [
              "READ"
            ]
          }
        ]
      }]

    You can read more about it here - 

    https://docs.reltio.com/en/explore/embark-on-your-journey/what-to-know-before-you-set-off/security/understanding-authorization/role-based-security/metadata-security#ariaid-title1

    Thanks

    Aditi



    ------------------------------
    Aditi Verma
    ------------------------------



  • 3.  RE: Readonly Attribute

    Posted 12-18-2023 11:27

    thank you for the reply, i will check.



    ------------------------------
    Abhimanyu Kumar
    GSK
    Cary NC
    ------------------------------