mirror of
https://github.com/nuxsmin/sysPass.git
synced 2026-03-15 04:46:49 +01:00
* [FIX] Notifications assigned to a user can be deleted
* [MOD] Improved in-app notifications displaying. Database update is needed * [ADD] Added ACL event handler in order to recreate users' ACL when items like user, profile or group are updated/deleted Signed-off-by: nuxsmin <nuxsmin@syspass.org>
This commit is contained in:
@@ -32,6 +32,7 @@ use SP\Config\Config;
|
||||
use SP\Core\Context\ContextInterface;
|
||||
use SP\Core\Events\EventDispatcher;
|
||||
use SP\Http\Request;
|
||||
use SP\Providers\Acl\AclHandler;
|
||||
use SP\Providers\Log\DatabaseLogHandler;
|
||||
use SP\Providers\Log\FileLogHandler;
|
||||
use SP\Providers\Log\RemoteSyslogHandler;
|
||||
@@ -144,6 +145,7 @@ abstract class ModuleBase
|
||||
$eventDispatcher->attach($this->container->get(RemoteSyslogHandler::class));
|
||||
}
|
||||
|
||||
$eventDispatcher->attach($this->container->get(AclHandler::class));
|
||||
$eventDispatcher->attach($this->container->get(NotificationHandler::class));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user