Hi Isomorphic,
I have a DataSource with many fields. Now I want to create a new operationBinding with requiresRole, but where many users will have the role.
The operationBinding is of type "update". I want that this operationBinding - regardless of values in the request - will only be able to update some fields.
If there are more fields in the request, I'm fine with this (request can run), as long as their content is discarded.
How do I do this best?
Additionally this question:
How can I enforce that some field must be present in criteria?
This works, but is it really the best way?
Thank you & Best regards
Blama
I have a DataSource with many fields. Now I want to create a new operationBinding with requiresRole, but where many users will have the role.
The operationBinding is of type "update". I want that this operationBinding - regardless of values in the request - will only be able to update some fields.
If there are more fields in the request, I'm fine with this (request can run), as long as their content is discarded.
How do I do this best?
Additionally this question:
How can I enforce that some field must be present in criteria?
This works, but is it really the best way?
Code:
<criteria fieldName="name" operator="equals" value="$values.name" />
Blama
Comment