protected function _setAdminIndexViewData()
{
$user = $this->BcAuth->user();
$allowOwners = array();
if (!empty($user)) {
$allowOwners = array('', $user['user_group_id']);
}
if (!isset($this->passedArgs['sortmode'])) {
$this->passedArgs['sortmode'] = false;
}
$this->set('users', $this->Page->getControlSource('user_id'));
$this->set('allowOwners', $allowOwners);
$this->set('sortmode', $this->passedArgs['sortmode']);
}