mirror of
https://github.com/nuxsmin/sysPass.git
synced 2026-03-06 08:34:16 +01:00
* [ADD] Permissions for users and groups on accounts could now be set either for viewing or editing.
* [MOD] Improved account ACL performance * [MOD] Improved tags and permissions saving behavior
This commit is contained in:
@@ -140,7 +140,9 @@ class UserController extends ControllerBase implements CrudControllerInterface
|
||||
$this->view->assign('sk', $this->session->generateSecurityKey());
|
||||
$this->view->assign('nextAction', Acl::getActionRoute(ActionsInterface::ACCESS_MANAGE));
|
||||
|
||||
if ($this->view->isView === true || $user->getLogin() === 'demo') {
|
||||
if ($this->view->isView === true
|
||||
|| ($this->configData->isDemoEnabled() && $user->getLogin() === 'demo')
|
||||
) {
|
||||
$this->view->assign('disabled', 'disabled');
|
||||
$this->view->assign('readonly', 'readonly');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user