What problem does it solve?
This Skill checks a 1C role’s permissions file for structural, semantic, and metadata errors before the role is used in a configuration, helping you catch broken access rules early.
Core Features & Use Cases
- XML Validation: Verifies that Rights.xml is well-formed, uses the expected root element, and includes required global flags.
- Rights Consistency Checks: Confirms that object rights match the allowed rights for 1C object types, including nested objects and service channels.
- RLS and Template Review: Detects empty restriction conditions and validates restriction templates for completeness.
- Metadata and Registration Checks: Optionally validates role UUID, name, synonym, and registration in Configuration.xml.
- Use Case: After editing a role in a 1C configuration, run this Skill to quickly identify malformed XML, unsupported rights, or missing metadata before deployment.
Quick Start
Use the role-validate skill to inspect the specified 1C role folder or Rights.xml file and report any validation errors, warnings, and metadata issues.