mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Implement RBAC (only built in roles) (#15212)
* Install bouncer * Seeder and level migration * Display and edit roles * remove unused deluser page * Update Radius and SSO to assign roles * update AlertUtil direct level check to use roles instead * rewrite ircbot auth handling * Remove legacy auth getUserlist and getUserlevel methods, add getRoles Set roles in LegacyUserProvider * Small cleanups * centralize role sync code show roles on user preferences page * VueSelect component WIP and a little docs * WIP * SelectControllers id and text fields. * LibrenmsSelect component extracted from SettingSelectDynamic * Handle multiple selections * allow type coercion * full width settings * final style adjustments * Final compiled assets update * Style fixes * Fix SSO tests * Lint cleanups * small style fix * don't use json yet * Update baseline for usptream package issues * Change schema, not 100% sure it is correct not sure why xor doesn't work
This commit is contained in:
@@ -30,6 +30,7 @@ return [
|
||||
'general' => ['name' => 'General Authentication Settings'],
|
||||
'ad' => ['name' => 'Active Directory Settings'],
|
||||
'ldap' => ['name' => 'LDAP Settings'],
|
||||
'radius' => ['name' => 'Radius Settings'],
|
||||
'socialite' => ['name' => 'Socialite Settings'],
|
||||
],
|
||||
'authorization' => [
|
||||
@@ -1259,6 +1260,12 @@ return [
|
||||
'help' => 'Networks/IPs which will not be discovered automatically. Excludes also IPs from Autodiscovery Networks',
|
||||
],
|
||||
],
|
||||
'radius' => [
|
||||
'default_roles' => [
|
||||
'description' => 'Default user roles',
|
||||
'help' => 'Sets the roles that will be assigned to the user unless Radius sends attributes that specify role(s)',
|
||||
],
|
||||
],
|
||||
'reporting' => [
|
||||
'error' => [
|
||||
'description' => 'Send Error Reports',
|
||||
|
Reference in New Issue
Block a user