mirror of
https://github.com/pelican-dev/panel.git
synced 2025-05-20 02:54:45 +02:00

* allow to assign nodes to roles * fix typo * fix node policy * small ui improvements * add missing translation * make phpstan happy * fix migration on mysql * also restrict mounts & database hosts to allowed nodes * fix migration on mysql v2 * changes from review * fix hasManyThrough * change `accessibleNodes` to builder Co-authored-by: RMartinOscar <40749467+RMartinOscar@users.noreply.github.com> --------- Co-authored-by: RMartinOscar <40749467+RMartinOscar@users.noreply.github.com>
18 lines
474 B
PHP
18 lines
474 B
PHP
<?php
|
|
|
|
return [
|
|
'nav_title' => 'Roles',
|
|
'model_label' => 'Role',
|
|
'model_label_plural' => 'Roles',
|
|
'no_roles' => 'No Roles',
|
|
'name' => 'Role Name',
|
|
'permissions' => 'Permissions',
|
|
'in_use' => 'In Use',
|
|
'all' => 'All',
|
|
'root_admin' => 'The :role has all permissions.',
|
|
'root_admin_delete' => 'Can\'t delete Root Admin',
|
|
'users' => 'Users',
|
|
'nodes' => 'Nodes',
|
|
'nodes_hint' => 'Leave empty to allow access to all nodes.',
|
|
];
|