Skip to content

Add the ability to Sync netbox user Groups and special Privileges with an Remote (HTTP) Auth Backend  #5775

@MaxRink

Description

@MaxRink

Environment

  • Python version: 3.8.x
  • NetBox version: 2.10.4
    altough both n/a

Proposed Functionality

Adding Group sync functionality to the Remote (HTTP) Auth Backend
I have a working implementation under https://github.com/MaxRink/netbox/tree/remote_groups

Use Case

Unlike the LDAP Backend, the RemoteUserBackend wasnt able to Sync Group memberships form the auth Provider.
This brings it up to parity, as the new Settings give you the Option to setup an automatic Group Sync (and revocation) on each User login.
This has been tested with oauth2-proxy
The old behaviopur of just Syncing Users and then manually managing Groups should be unaffected.

Database Changes

No

External Dependencies

No, all Django-internal

Metadata

Metadata

Assignees

Labels

status: acceptedThis issue has been accepted for implementationtype: featureIntroduction of new functionality to the application

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions