role-info

Parse 1C role Rights.xml files and emit compact summaries of allowed rights.

413|90|Updated Aug 31, 2025
One-click install
npx skills add https://github.com/comol/cursor_rules_1c --skill role-info
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: role-info
Source: https://github.com/comol/cursor_rules_1c/tree/main/.cursor/source/role-info
Command: npx skills add https://github.com/comol/cursor_rules_1c --skill role-info

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Компактная сводка прав роли 1С из Rights.xml — позволяет быстро понять объекты и разрешённые права без долгого просмотра XML.

Core Features & Use Cases

  • Объединение прав по типу объектов и вывод только разрешённых.
  • Отмечает наличие ограничений RLS там, где они встречаются.
  • Поддержка запросов Denied прав по требованию (параметр ShowDenied) для аудита.
  • Применимо к ролям, размещённым в Roles/.../Ext/Rights.xml, и подходит для аудита и анализа прав.

Quick Start

Применяйте role-info к Rights.xml роли, чтобы получить компактный свод по правам.

Frequently Asked Questions about role-info

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

FAQPage Schema
How do I parse a 1C Rights.xml file to audit role permissions?

Use a PowerShell script to parse the 1C Rights.xml file, aggregate allowed rights by object type, and emit a compact textual report that highlights RLS restrictions for quick role auditing.

Can I view denied rights in a 1C role audit summary?

Yes, you can view denied rights during a 1C role audit by enabling the ShowDenied parameter in the PowerShell script, which then includes denied permissions alongside the default allowed rights in the output report.

Does the role rights parser support pagination for large XML files?

The role rights parser supports pagination via the -Limit and -Offset parameters in the PowerShell script, allowing you to process large 1C Rights.xml files in manageable chunks and output paginated UTF-8 text.

How are RLS restrictions displayed when parsing 1C role rights?

RLS restrictions are displayed as informational flags within the compact summary report whenever the parser encounters them in the 1C Rights.xml file, ensuring you immediately see which objects have row-level security applied.

What is the best way to get a compact summary of 1C role objects and allowed rights?

The best way to get a compact summary of 1C role rights is to run a PowerShell parser against the Roles/.../Ext/Rights.xml file, which aggregates objects and outputs only the allowed permissions in a concise UTF-8 text format.

Do I need a specific file path structure to parse 1C role rights?

Yes, you need the 1C role definition stored under the Roles/.../Ext/Rights.xml path structure for the parser to correctly locate and process the XML file to generate your role rights summary.