...
- matcherTarget defines the Dataloy object that has to be used as target object
- matcherAttributeTarget defines the attribute in the matcherTarget object that has to be used against the attribute of the object (objectName)
- objectName the Dataloy object that has to be applied the access control
- attribute the attribute name that links the Dataloy object with the target object
- dataControlRoleValues list of SecurityRole that the DataControl will be applied
In the above example if an User that belong to the SecurityRole "MATER_ONLINE_VESSEL" make a query to the endpoint Voyage, the server will return only the voyages that has voyageHeader.vesselCodes.masterUser = {the user that made the query}