mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Specify radius attributes for auth roles (#15374)
* Specify radius attributes for auth roles * Clarify that any role can be defined
This commit is contained in:
@@ -304,10 +304,14 @@ The attribute `Filter-ID` is a standard Radius-Reply-Attribute (string) that
|
||||
can be assigned a specially formatted string to assign a single role to the user.
|
||||
|
||||
The string to send in `Filter-ID` reply attribute must start with `librenms_role_` followed by the role name.
|
||||
For example to set the admin role send `librenms_role_admin`
|
||||
For example to set the admin role send `librenms_role_admin`.
|
||||
|
||||
LibreNMS will ignore any other strings sent in `Filter-ID` and revert to default
|
||||
role that is set in your config.
|
||||
The following strings correspond to the built-in roles, but any defined role can be used:
|
||||
- `librenms_role_normal` - Sets the normal user level.
|
||||
- `librenms_role_admin` - Sets the administrator level.
|
||||
- `librenms_role_global-read` - Sets the global read level
|
||||
|
||||
LibreNMS will ignore any other strings sent in `Filter-ID` and revert to default role that is set in your config.
|
||||
|
||||
```php
|
||||
$config['radius']['hostname'] = 'localhost';
|
||||
|
Reference in New Issue
Block a user