* [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:
nuxsmin
2018-11-18 19:51:42 +01:00
parent b611c9bb29
commit 57260871d6
39 changed files with 730 additions and 305 deletions

View File

@@ -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));
}
}