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:
barryodonovan
2023-10-04 15:11:04 +01:00
committed by GitHub
parent c6d815999f
commit 529b721b03

View File

@@ -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';