mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
1.9 KiB
1.9 KiB
NetBox v2.8
v2.8.0 (FUTURE)
New Features
Remote Authentication Support (#2328)
Several new configuration parameters provide support for authenticating an incoming request based on the value of a specific HTTP header. This can be leveraged to employ remote authentication via an nginx or Apache plugin, directing NetBox to create and configure a local user account as needed. The configuration parameters are:
REMOTE_AUTH_ENABLED
- Enables remote authentication (disabled by default)REMOTE_AUTH_HEADER
- The name of the HTTP header which conveys the usernameREMOTE_AUTH_AUTO_CREATE_USER
- Enables the automatic creation of new users (disabled by default)REMOTE_AUTH_DEFAULT_GROUPS
- A list of groups to assign newly created usersREMOTE_AUTH_DEFAULT_PERMISSIONS
- A list of permissions to assign newly created users
If further customization of remote authentication is desired (for instance, if you want to pass group/permission information via HTTP headers as well), NetBox allows you to inject a custom Django authentication backend to retain full control over the authentication and configuration of remote users.
Enhancements
- #4195 - Enabled application logging (see logging configuration)
API Changes
- dcim.Rack: The
/api/dcim/racks/<pk>/units/
endpoint has been replaced with/api/dcim/racks/<pk>/elevation/
. - The
id__in
filter has been removed. Use the format?id=1&id=2
instead. (#4313)
Other Changes
- #4081 - The
family
field has been removed from the Aggregate, Prefix, and IPAddress models