Skip to content

feat(graphql): Add support for ACL Interface Assignments #260

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

pheus
Copy link
Contributor

@pheus pheus commented Apr 20, 2025

Pull Request

Related Issue

Fixes: #251 [Feature] Add ACL Interface Assignment to GraphQL

New Behavior

  • Adds ACLInterfaceAssignmentType to the GraphQL schema.
  • Enables querying ACL Interface Assignments via the GraphQL API.
  • Mirrors functionality available in the REST API for parity.

Contrast to Current Behavior

  • Previously, ACL Interface Assignments were only accessible via the REST API.
  • This change allows full access through GraphQL for automation and integration purposes.

Discussion: Benefits and Drawbacks

Benefits:

  • Enables automation and scripting via GraphQL.
  • Provides more flexibility for users depending on GraphQL endpoints.
  • Aligns with NetBox’s API consistency goals.

Drawbacks:

  • None known at this point.

Changes to the Documentation

  • GraphQL schema is self-documenting, no external documentation required.

Proposed Release Note Entry

  • Added GraphQL support for querying ACL Interface Assignments.

Double Check

  • I have explained my PR according to the information in the comments
    or in a linked issue.
  • My PR targets the dev branch.

Introduces ACLInterfaceAssignmentType to GraphQL schema and type
definitions. Adds fields for accessing ACL interface assignments and
their lists in the schema to manage related data effectively.

Fixes netbox-community#251
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature]: Add ACL Interface Assignment to GraphQL
1 participant