Attribute Operators for User, Group and Other to be stored in DB as their textual representations
- The user_attributes table is currently storing an integer index which is used to map to an array for the value of the operator for display in the WebUI. i.e. '==' is being stored as 2 in the database.
- Changes have already been made to pull this shared array from Util::getAttributeOperators();
- Util::getAttributeOperators() needs to be applied to all the templates and tested.
- Util.php call to getAttributeOperators should return the operator in the index
e.g. app/Lib/Utility/Util.php
public static $attributeOperators = array (
'=' => '=',
':=' => ':=',
'==' => '==',
//...
);
- The FormHelper knows how to place this in the == from the array described above.