role-info

Parse 1C role Rights.xml files into compact permission audits with RLS markers.

33|8|Updated Mar 6, 2026
One-click install
npx skills add https://github.com/Dach-Coin/claude_rules_1c --skill role-info-dach-coin
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: role-info
Source: https://github.com/Dach-Coin/claude_rules_1c/tree/main/.claude/skills/role-info
Command: npx skills add https://github.com/Dach-Coin/claude_rules_1c --skill role-info-dach-coin

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires lxml, and includes scripts (resource) components.

What problem does it solve?

Этот навык решает задачу быстрого аудита прав роли 1С: какие объекты и действия разрешены, а также где есть ограничения RLS, чтобы сократить время на ручной просмотр Rights.xml.

Core Features & Use Cases

  • Парсинг Rights.xml роли: преобразует тысячи строк XML в компактную сводку (обычно 50–150 строк).
  • Группировка по типу объекта: права сгруппированы по префиксу типа и выводятся по каждому объекту кратким списком разрешенных действий.
  • Индикация RLS: права, помеченные ограничением restrictionByCondition, помечаются как [RLS] и суммарно подсчитываются.
  • Опциональный вывод запрещенных прав: позволяет дополнительно увидеть denied-rights для полной картины соответствия требованиям безопасности.

Quick Start

Запусти роль-аудит для файла Roles/ИмяРоли/Ext/Rights.xml и сохранение результата в UTF-8 BOM, чтобы затем прочитать сводку через инструмент Read.

Frequently Asked Questions about role-info

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I audit 1C role rights from a Rights.xml file?

The Skill identifies rights marked with restrictionByCondition and flags them as [RLS] in the output, providing a total count of RLS restrictions for compliance checks and access troubleshooting.

Can I see denied rights in the 1C permission audit output?

Yes, the audit optionally includes denied rights alongside allowed permissions to provide a complete picture of security compliance. Denied rights are displayed grouped by object type and short name.

Does the 1C rights audit require specific dependencies for XML parsing?

Yes, the 1C rights audit requires the lxml dependency to parse Rights.xml files and extract permission data. You need lxml installed in your environment before running the role audit.

How do I handle large 1C role permission matrices in the audit output?

You handle large 1C role permission matrices by using output pagination with limit and offset parameters to control the audit summary size. This allows you to review grouped permissions in manageable chunks.

What is the best way to review RLS restrictions in 1C:Enterprise configurations?

The best way to review RLS restrictions is to parse the Rights.xml file and flag permissions containing restrictionByCondition as [RLS] entries. This highlights all row-level security restrictions and counts them for compliance verification.