Boy132 03745eb4be
Allow to assign nodes to roles (node ownership) (#1231)
* 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>
2025-05-05 12:58:55 +02:00

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.',
];