Function checkFieldAuth
Check if at least one part of f.e. " view all || leader " is in $permissions
Parameters summary
|
$auth |
with optional || as OR combinations |
array |
$permissions |
Return value summary
boolean
|
boolean |