mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Device group based access (#10568)
* Device group based access * Use Permissions class to resolve permissions Also give port access based on device access * Convert more pages to use Permissions class * shorten config setting name use Eloquent relationships in several places alphabetize config_definitions.json * Change Models and Permissions * Clean up ajax_search LIMIT sql * Convert more pages to use Permissions class Co-authored-by: Tony Murray <murraytony@gmail.com>
This commit is contained in:
@@ -5,6 +5,7 @@ return [
|
||||
'groups' => [
|
||||
'alerting' => 'Alerting',
|
||||
'auth' => 'Authentication',
|
||||
'authorization' => 'Authorization',
|
||||
'external' => 'External',
|
||||
'global' => 'Global',
|
||||
'os' => 'OS',
|
||||
@@ -23,6 +24,9 @@ return [
|
||||
'ad' => 'Active Directory Settings',
|
||||
'ldap' => 'LDAP Settings'
|
||||
],
|
||||
'authorization' => [
|
||||
'device-group' => 'Device Group Settings'
|
||||
],
|
||||
'discovery' => [
|
||||
'general' => 'General Discovery Settings',
|
||||
'route' => 'Routes Discovery Module',
|
||||
@@ -592,6 +596,13 @@ return [
|
||||
'description' => 'Poller performance log entries older than (days)',
|
||||
'help' => 'Cleanup done by daily.sh'
|
||||
],
|
||||
'permission' => [
|
||||
'device_group' => [
|
||||
'allow_dynamic' => [
|
||||
'description' => 'Enable user access via dynamic Device Groups',
|
||||
]
|
||||
]
|
||||
],
|
||||
'ping' => [
|
||||
'description' => 'Path to ping'
|
||||
],
|
||||
|
Reference in New Issue
Block a user