Anonymous
public text v1 · immutable<?php
global $user;
if (in_array('role type here',$user->roles)|| in_array('web admin',$user->roles)) {
return TRUE;
} else {
return FALSE;
}
?><?php
global $user;
if (in_array('role type here',$user->roles)|| in_array('web admin',$user->roles)) {
return TRUE;
} else {
return FALSE;
}
?>