* Program/project edit page change acl.

This commit is contained in:
Yagami
2020-10-19 13:56:46 +08:00
parent 62c8bb5b03
commit 2fe5ec9993
14 changed files with 111 additions and 60 deletions
+1 -1
View File
@@ -732,7 +732,7 @@ class user extends control
/* Authorize him and save to session. */
$user->rights = $this->user->authorize($user->account);
$user->groups = $this->user->getGroups($user->account);
$user->view = $this->user->grantUserView($user->account, $user->rights['acls'], $user->rights['programs']);
$user->view = $this->user->grantUserView($user->account, $user->rights['acls'], $user->rights['projects']);
$this->session->set('user', $user);
$this->app->user = $this->session->user;
$this->loadModel('action')->create('user', $user->id, 'login');