mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
git checkout work of samir
This commit is contained in:
parent
6a4548485f
commit
69e7897fdd
@ -129,7 +129,6 @@ class AppController extends Controller
|
||||
if ($this->Auth->user('id')) {
|
||||
$GLOBALS['ServerUser'] = $this->Auth->user();
|
||||
}
|
||||
|
||||
// login server url
|
||||
$loginServer = Configure::read('LoginServer');
|
||||
if ($loginServer && isset($loginServer['url'])) {
|
||||
|
||||
@ -15,7 +15,7 @@ class ServerUsersController extends AppController
|
||||
public function initialize()
|
||||
{
|
||||
parent::initialize();
|
||||
//$this->Auth->allow(['add', 'edit']);
|
||||
$this->Auth->allow(['add', 'edit']);
|
||||
$this->Auth->deny('index');
|
||||
}
|
||||
|
||||
|
||||
@ -111,4 +111,25 @@ $this->assign(
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="content-region">
|
||||
<h3>Roles ...</h3>
|
||||
<div class="content-collection">
|
||||
<div class="content-item action-button">
|
||||
<i class="material-icons-outlined">roles</i>
|
||||
<?= $this->Html->link(
|
||||
__('View'),
|
||||
['controller' => 'Roles', 'action' => 'index'],
|
||||
['class' => 'info-item-link']
|
||||
); ?>
|
||||
</div>
|
||||
<div class="content-item action-button">
|
||||
<i class="material-icons-outlined">assign_roles</i>
|
||||
<?= $this->Html->link(
|
||||
__('Assign Roles'),
|
||||
['controller' => 'StateUserRoles', 'action' => 'search'],
|
||||
['class' => 'info-item-link']
|
||||
); ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user