Closed xendri closed 1 year ago
Complete support for RolePermissions is in beta in the member-only repo. There are some discussions on the correct way to do it so the beta will change before it is released.
Thanks for the info, we will ask via our member contact then.
Hi,
I am currently trying to set RolePermissions for objects. But none of the examples describe more than the DefaultRolePermissions for the NamespaceMetaData object
As a minimal example I tried setting a RolePermission for an instantiated object in the DemoModel under
Tests/DemoModel/DemoModel.xml
on Tag 2.3.0. I modified the object definition with SymbolicNamesignal
to the following:If I read the UA Model Design.xsd file correctly, that should set the permissions for the default roles of Anonymous and AuthenticatedUser. I build the model with compiler packaged in the docker container, specifically ghcr.io/opcfoundation/ua-modelcompiler:latest, which is tagged with 2.3.0. In the generated NodeSet.xml and NodeSet2.xml all mentions of RolePermissions seem empty.
Am I missing something? Are the roles missing, and the permissions therefore pruned? Do I need to specify the roles first? Any ideas to set RolePermissions for my objects would be greatly appreciated.
Thanks!