Files
cc-1c-skills/tests/skills/cases/role-info/with-rls.json
T
Nick Shirokov 0d116863ec feat: role-compile OutputDir accepts config root (like meta-compile)
- OutputDir now accepts config root dir — creates Roles/ subdirectory
- Back-compat: if OutputDir ends with "Roles", uses it as-is
- Configuration.xml lookup adjusted accordingly
- Updated SKILL.md, PS1, PY scripts (v1.3)
- Updated test cases and snapshots for new Roles/ path

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-29 13:51:24 +03:00

61 lines
1.4 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
"name": "Обзор роли с RLS",
"preRun": [
{
"script": "meta-compile/scripts/meta-compile",
"input": {
"type": "Catalog",
"name": "Организации"
},
"args": {
"-JsonPath": "{inputFile}",
"-OutputDir": "{workDir}"
}
},
{
"script": "meta-compile/scripts/meta-compile",
"input": {
"type": "Document",
"name": "Реализация"
},
"args": {
"-JsonPath": "{inputFile}",
"-OutputDir": "{workDir}"
}
},
{
"script": "role-compile/scripts/role-compile",
"input": {
"name": "ОграниченноеЧтение",
"synonym": "Ограниченное чтение",
"objects": [
"Catalog.Организации: @view",
{
"name": "Document.Реализация",
"preset": "view",
"rls": {
"Read": "#ПоОрганизации(\"\")"
}
}
],
"templates": [
{
"name": "ПоОрганизации(Мод)",
"condition": "ГДЕ Организация = &Орг"
}
]
},
"args": {
"-JsonPath": "{inputFile}",
"-OutputDir": "{workDir}"
}
}
],
"params": {
"rightsPath": "Roles/ОграниченноеЧтение/Ext/Rights.xml"
},
"expect": {
"stdoutContains": "RLS"
}
}