Example of Setting Permissions for Records

To allow full access to records of the Address repository for an administrator, refer to the following example for TestCase configuration:

<ns:TestStep>
   <ns:Name>Set Permission 1</ns:Name>
   <ns:SOAPUILookup>
       <ns:TestSuite>Master Suite</ns:TestSuite>
       <ns:TestCase>CommonActions</ns:TestCase>
       <ns:TestStep>ResourceSecurity-SetPermissions</ns:TestStep>
   </ns:SOAPUILookup>
   <ns:ExternalProperties>
       <ns:Property>
          <ns:Key>RESOURCE_TYPE</ns:Key>
          <ns:Value>MASTERCATALOG</ns:Value>
       </ns:Property>
       <ns:Property>
          <ns:Key>SUB_RESOURCE_TYPE</ns:Key>
          <ns:Value>RECORD</ns:Value>
       </ns:Property>
       <ns:Property>
          <ns:Key>RESOURCE_NAME</ns:Key>
          <ns:Value>ADDRESS</ns:Value>
       </ns:Property>
       <ns:Property>
          <ns:Key>GRANTEE_TYPE</ns:Key>
          <ns:Value>User</ns:Value>
       </ns:Property>
       <ns:Property>
          <ns:Key>GRANTEE_NAME</ns:Key>
          <ns:Value>admin</ns:Value>
       </ns:Property>
       <ns:Property>
          <ns:Key>ACESSS</ns:Key>
          <ns:Value>A</ns:Value>
       </ns:Property>
       <ns:Property>
          <ns:Key>ALLOW</ns:Key>
          <ns:Value>Y</ns:Value>
       </ns:Property>
   </ns:ExternalProperties>
</ns:TestStep>