Files
cc-1c-skills/tests/skills/cases/role-compile/explicit-rights.json
T
Nick Shirokov 20adf4f463 fix(tests): correct ExternalDataProcessorObject→DataProcessorObject in config-context DSLs
Fix test DSLs that used ExternalDataProcessorObject (EPF type) for
DataProcessors inside configurations. Also fix: chart-of-accounts
(remove maxExtDimensionCount without ПВХТ), calculation-register
(remove actionPeriod without infrastructure), document-multiple-tabparts
(remove registerRecords referencing non-existent register),
role-compile/explicit-rights (add dimensions to empty InformationRegister).

Regenerated all affected snapshots.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-05 20:10:49 +03:00

33 lines
797 B
JSON

{
"name": "Роль с явными правами (без пресета)",
"preRun": [
{
"script": "meta-compile/scripts/meta-compile",
"input": {
"type": "InformationRegister",
"name": "Цены",
"dimensions": ["Номенклатура: String(100)"],
"resources": ["Цена: Number(15,2)"]
},
"args": {
"-JsonPath": "{inputFile}",
"-OutputDir": "{workDir}"
}
}
],
"input": {
"name": "ПравоЦен",
"synonym": "Право на цены",
"objects": [
"InformationRegister.Цены: Read, Update"
]
},
"validatePath": "Roles/ПравоЦен",
"expect": {
"files": [
"Roles/ПравоЦен.xml",
"Roles/ПравоЦен/Ext/Rights.xml"
]
}
}