1
0
mirror of https://github.com/typemill/typemill.git synced 2025-07-31 03:10:19 +02:00

Search users, select role field, german translations

This commit is contained in:
trendschau
2021-03-17 21:11:56 +01:00
parent c20c592492
commit 778b3906c2
17 changed files with 1807 additions and 1119 deletions

View File

@@ -31,6 +31,11 @@ class accessController
return $response->withRedirect($this->router->pathFor('auth.show'));
}
if(!$this->acl->hasRole($_SESSION['role']))
{
$_SESSION['role'] = 'member';
}
if(!$this->acl->isAllowed($_SESSION['role'], $this->resource, $this->privilege ))
{
# redirect to frontend startpage