3
0
corteza/def/compose.module-field.yaml
Tomaž Jerman fc9061fee3 Resource translation improvements
* Fix locale context management
* Assure proper locale context parameters are used when updating,
  listing translations
* Return missing module field translations
2021-09-22 11:33:37 +02:00

25 lines
935 B
YAML

rbac:
resource:
references: [ namespace, module, ID ]
operations:
record.value.read:
canFnName: CanReadRecordValue
description: Read field value on records
record.value.update:
canFnName: CanUpdateRecordValue
description: Update field value on records
locale:
resource:
references: [ namespace, module, ID ]
skipSvc: true
keys:
- label
- { name: descriptionView, path: meta.description.view, custom: true, customHandler: descriptionView }
- { name: descriptionEdit, path: meta.description.edit, custom: true, customHandler: descriptionEdit }
- { name: hintView, path: meta.hint.view, custom: true, customHandler: hintView }
- { name: hintEdit, path: meta.hint.edit, custom: true, customHandler: hintEdit }
- { name: validatorError, path: "expression.validator.{{validatorID}}.error", custom: true, customHandler: validatorError }