mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-22 05:14:25 +02:00
It's not the "permissions.ini" but the "roles.ini" that holds the role settings
This commit is contained in:
parent
5b4fab0750
commit
b712d9453b
@ -65,12 +65,12 @@ class AuthenticationStep extends Step
|
||||
$config = array();
|
||||
$config['admins'] = array(
|
||||
'users' => $this->data['adminAccountData']['username'],
|
||||
'permission' => '*'
|
||||
'permissions' => '*'
|
||||
);
|
||||
|
||||
try {
|
||||
Config::fromArray($config)
|
||||
->setConfigFile(Config::resolvePath('permissions.ini'))
|
||||
->setConfigFile(Config::resolvePath('roles.ini'))
|
||||
->saveIni();
|
||||
} catch (Exception $e) {
|
||||
$this->permIniError = $e;
|
||||
|
Loading…
x
Reference in New Issue
Block a user