Skip to content

[Feature]: AccessList inheritance #268

@alehaa

Description

@alehaa

NetBox version

v4.3.5

Feature type

Change to existing model

Proposed functionality

I propose implementing inheritance for ACLs. This means that an ACL can have a parent ACL, and the rules of the parent ACL will be automatically inherited by the child ACL.

This proposal involves several model changes:

  1. Adding an optional parent field to the AccessList model or using MPTT.
  2. Including the rules of the parent ACL when querying the rules of a child ACL.
  3. Allowing an ACL to be abstract, meaning that the assigned_object field can be optional.

Use case

When managing a large number of devices, Access Control Lists (ACLs) can become repetitive, as all access lists might include rules like allowing administrator access. This proposal aims to reduce such repetition.

External dependencies

None.


I volunteer to implement this proposal.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions