mirror of
https://github.com/Nikolay-Shirokov/cc-1c-skills.git
synced 2026-06-26 15:04:34 +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>
25 lines
831 B
JSON
25 lines
831 B
JSON
{
|
|
"name": "Валидация роли с RLS",
|
|
"preRun": [
|
|
{
|
|
"script": "meta-compile/scripts/meta-compile",
|
|
"input": { "type": "Document", "name": "Продажа" },
|
|
"args": { "-JsonPath": "{inputFile}", "-OutputDir": "{workDir}" }
|
|
},
|
|
{
|
|
"script": "role-compile/scripts/role-compile",
|
|
"input": {
|
|
"name": "СОграничениями",
|
|
"objects": [
|
|
{ "name": "Document.Продажа", "preset": "view", "rls": { "Read": "#Шаблон(\"\")" } }
|
|
],
|
|
"templates": [
|
|
{ "name": "Шаблон(Мод)", "condition": "ГДЕ Поле = &Параметр" }
|
|
]
|
|
},
|
|
"args": { "-JsonPath": "{inputFile}", "-OutputDir": "{workDir}" }
|
|
}
|
|
],
|
|
"params": { "rightsPath": "СОграничениями/Ext/Rights.xml" }
|
|
}
|