Browse Source

Console ModuleController permissions label fix

master
Egorka 6 years ago
parent
commit
19fefa03ad
  1. 2
      console/controllers/ModuleController.php

2
console/controllers/ModuleController.php

@ -88,7 +88,7 @@ class ModuleController extends Controller
$this->_service->create($name, 'common\\modules\\' . $name . '\\' . $manifest['module'], 'common', 1); $this->_service->create($name, 'common\\modules\\' . $name . '\\' . $manifest['module'], 'common', 1);
} }
// init permissions // init permissions
echo ConsoleColor::log('Database: ', 'normal'); echo ConsoleColor::log('Permissions: ', 'normal');
if (isset($manifest['permissions']) && is_array($manifest['permissions'])) { if (isset($manifest['permissions']) && is_array($manifest['permissions'])) {
$this->assignPermissions($manifest['permissions']); $this->assignPermissions($manifest['permissions']);
} }

Loading…
Cancel
Save