I want to disable a field for only a specific user role. Other users should be able to edit the field.I know I can do this with PHP-based blueprints, but I would prefer to stay All-YAML. One could simply leverage the same syntax one uses for defining user-role-based permissions:
field:
type: text
disabled:
editor: false
submitter: true
This way, editors can edit the field, whereas submitters cannot.