- Issue created by @lostcarpark
I'm not sure if this should be considered a bug or a feature request. I've selected bug since the the form currently allows you to do things that you might not expect, but feel free to change.
When adding/editing an abr configuration there is no validation other than mandatory fields. As a result it is possible to select invalid fields for the selected reference type.
The following validations should be applied:
For all reference types, the "Assign rights" checkboxes, but at least one should be selected or the configuration will be a bit pointless.
Add an abr configuration, selecting invalid field for reference type. For example, if you select User referenced, and pick a node reference field, this could have unexpected results if you reference a node that happened to have the same numeric node ID value as a user ID.
Implement validate function for AbrconfigForm to check field types on submit.
I am interested in working on the fix for this.
Error message will be displayed if form submitted with invalid field type.
None.
None.
Active
3.0
Code