$superAdmin = Application::MyUser()->isSuperAdmin();
if($this->registryEditVew->_controllerView->_tableName == "showusers" && !$superAdmin){
$mygids = $_CB_framework->acl->get_groups_below_me( null, true );
$xmlsql->where[] = "d.group_id IN('".implode("','", $mygids)."')";
}
Please Log in to join the conversation.
Please Log in to join the conversation.