mirror of
https://bitbucket.org/jsuto/piler.git
synced 2025-06-12 23:47:02 +02:00
updated the group handling + revised admin permissions
This commit is contained in:
@ -71,9 +71,9 @@ class ControllerUserEdit extends Controller {
|
||||
}
|
||||
else {
|
||||
$this->data['user'] = $this->model_user_user->get_user_by_uid($this->data['uid']);
|
||||
$this->data['groups'] = $this->model_group_group->get_groups();
|
||||
|
||||
$this->data['user']['group_membership'] = $this->model_user_user->get_additional_uids($this->data['uid']);
|
||||
$this->data['user']['group'] = $this->model_group_group->get_groups_by_uid($this->data['uid']);
|
||||
|
||||
$this->data['emails'] = $this->model_user_user->get_emails($this->data['user']['username']);
|
||||
|
||||
|
Reference in New Issue
Block a user