mirror of
https://github.com/Nikolay-Shirokov/cc-1c-skills.git
synced 2026-07-19 00:59:40 +03:00
a1b3fdd4e2
Add 195 new test cases covering examples from SKILL.md, edge cases, and parameter combinations. Create _skill.json for form-edit, skd-edit, subsystem-edit. Add fixtures for negative validate cases. Fix normalizeUuids in meta-validate/meta-info configs. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
33 lines
1.2 KiB
JSON
33 lines
1.2 KiB
JSON
{
|
||
"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": "ОграниченноеЧтение/Ext/Rights.xml" },
|
||
"expect": { "stdoutContains": "RLS" }
|
||
}
|