Can View Row list plugin
The plugin is executed if the user belongs to the user groups selected in the plugin settings.
The check condition through the plugin can be set in two ways: Simple or Advanced. Advanced excludes Simple.
- Simple: the value of a specific element is checked to see if it is equal or not equal to some comparison value. If the value of the element matches this, then the row data can be opened in view mode.
- Advanced: php statement that need to return true or false. If return true, the record can be opened in view mode. If return false, the user can't view data on this record. Can use placeholders.
Format to get field data:
{dbCONNECTION_ID__table_name___element_name}
where CONNECTION_ID is a database connection and you can find it from Brixy Lists->Data Tab->Database Tab->Connection ID.
Example:
$el_value = '{db2__users___email}';
//db2 -> database with connection id = 2
// users -> table name
// email -> column name