It's not the "permissions.ini" but the "roles.ini" that holds the role settings

This commit is contained in:
Johannes Meyer 2015-02-03 16:38:32 +01:00
parent 5b4fab0750
commit b712d9453b
1 changed files with 2 additions and 2 deletions

View File

@ -65,12 +65,12 @@ class AuthenticationStep extends Step
$config = array(); $config = array();
$config['admins'] = array( $config['admins'] = array(
'users' => $this->data['adminAccountData']['username'], 'users' => $this->data['adminAccountData']['username'],
'permission' => '*' 'permissions' => '*'
); );
try { try {
Config::fromArray($config) Config::fromArray($config)
->setConfigFile(Config::resolvePath('permissions.ini')) ->setConfigFile(Config::resolvePath('roles.ini'))
->saveIni(); ->saveIni();
} catch (Exception $e) { } catch (Exception $e) {
$this->permIniError = $e; $this->permIniError = $e;