Support Team wrote: ↑05 Dec 2024, 09:25
Hi,
The schema files used by the SDK are shipped with the installer.
They can be found in the folder "configurationschema".
Dear Support Team,
We have located the schema file and created a role configurations XML based on it. However, upon attempting to start the server with this XML, we encountered errors indicating "BadUserAccessDenied" for all properties when a client tries to read the RoleSet. We are uncertain if the configuration we've written is at fault.
Our initial goal was to resolve the issue where reading the RoleSet would result in a "BadUserAccessDenied" error for the RolePermissions property in the absence of role configurations. Now, however, all attributes are returning this error.
Could you please provide guidance on what might be causing these issues? Are there specific entries or settings within the role configurations XML that need to be verified or adjusted to ensure proper access permissions are granted?
Thank you for your assistance. Please find our current role configurations XML content:
Code: Select all
<?xml version="1.0" encoding="utf-8"?>
<RoleConfigurations xmlns="http://unifiedautomation.com/schemas/RoleConfigurations.xsd"
EnableOnlineConfiguration="true"
MaxRoles="200"
MaxIdentitiesPerRole="500"
MaxApplicationsPerRole="200"
MaxEndpointsPerRole="200">
<NamespaceTable>
<Uri>http://opcfoundation.org/Quickstarts/ReferenceServer</Uri>
<Uri>http://test.org/UA/Data/</Uri>
<Uri>http://test.org/UA/Data/Instance</Uri>
<Uri>http://opcfoundation.org/UA/Boiler/</Uri>
<Uri>http://opcfoundation.org/UA/Boiler/Instance</Uri>
<Uri>http://test.org/UA/Alarms/</Uri>
<Uri>http://test.org/UA/Alarms/Instance</Uri>
<Uri>http://opcfoundation.org/UA/Diagnostics</Uri>
<Uri>http://samples.org/UA/MemoryBuffer</Uri>
<Uri>http://samples.org/UA/MemoryBuffer/Instance</Uri>
</NamespaceTable>
<Roles>
<Role Name="Anonymous" NodeId="i=15644"
IgnorePermissions="true"
CustomConfiguration="false"
EndpointsMode="Ignore"
ApplicationsMode="Ignore"
DisableOnlineConfiguration="false">
</Role>
<Role Name="AuthenticatedUser" NodeId="i=15656"
IgnorePermissions="true"
CustomConfiguration="false"
EndpointsMode="Ignore"
ApplicationsMode="Ignore"
DisableOnlineConfiguration="false">
</Role>
<Role Name="Operator" NodeId="i=15680"
IgnorePermissions="true"
CustomConfiguration="false"
EndpointsMode="Ignore"
ApplicationsMode="Ignore"
DisableOnlineConfiguration="false">
</Role>
</Roles>
</RoleConfigurations>