fix permissions of QrController
This commit is contained in:
parent
d3fae2e551
commit
7061a98f5b
1 changed files with 20 additions and 1 deletions
|
@ -26,6 +26,17 @@
|
||||||
* @var array
|
* @var array
|
||||||
*/
|
*/
|
||||||
public $models = array('seminaries', 'achievements', 'charactertitles', 'charactergroups', 'charactergroupsquests', 'charactergroupsqueststations', 'charactergroupsachievements');
|
public $models = array('seminaries', 'achievements', 'charactertitles', 'charactergroups', 'charactergroupsquests', 'charactergroupsqueststations', 'charactergroupsachievements');
|
||||||
|
/**
|
||||||
|
* User permissions
|
||||||
|
*
|
||||||
|
* @var array
|
||||||
|
*/
|
||||||
|
public $permissions = array(
|
||||||
|
'a' => array('admin', 'moderator', 'user'),
|
||||||
|
'ct' => array('admin', 'moderator', 'user'),
|
||||||
|
'cgqs' => array('admin', 'moderator', 'user'),
|
||||||
|
'cga' => array('admin', 'moderator', 'user')
|
||||||
|
);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -135,7 +146,15 @@
|
||||||
\hhu\z\controllers\components\NotificationComponent::TYPE_CHARACTERTITLE,
|
\hhu\z\controllers\components\NotificationComponent::TYPE_CHARACTERTITLE,
|
||||||
($character['gender'] === 1)
|
($character['gender'] === 1)
|
||||||
? $title['title_male']
|
? $title['title_male']
|
||||||
: $title['title_female']
|
: $title['title_female'],
|
||||||
|
$this->linker->link(
|
||||||
|
array(
|
||||||
|
'characters',
|
||||||
|
'edit',
|
||||||
|
$seminary['url'],
|
||||||
|
$character['url']
|
||||||
|
)
|
||||||
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
// Redirect
|
// Redirect
|
||||||
|
|
Loading…
Reference in a new issue