permissionSets
Use permissionSets: when several instances need the same permissions. Give each set a name, its rolePermissions and its accessRestrictions. An instance takes a set with permissionSet: <name>. An instance uses a set or writes the keys itself, not both. The gateway stops with an error when an instance names a set that is not here. A set applies to the node that names it, not to the nodes below it. A Write permission does not make a Variable writable: give the Variable an accessLevel for that.
Example
permissionSets:
operatorOnly:
rolePermissions:
- role: ua:Operator
permissions: [Browse, Read]
accessRestrictions: [SigningRequired]
instances:
- browseName: Boiler
typeDefinition: ua:BaseObjectType
organizedBy: /ua:Objects
permissionSet: operatorOnly
The value
permissionSets: is a map.