Skip to content

bug: when adding a node to a group using the front-end node detail page the dropdown contains irrelevant groups #35

Description

@polmichel

Copied from opsmill#4872 for end-to-end testing of the bug-fixing skill pipeline.

Component

API Server / GraphQL

Infrahub version

1.0.1

Current Behavior

When you want to add a node to a group using the front-end node detail page, in the dropdown in which you can select the group we seem to be listing CoreAccountGroup nodes and CoreGeneratorGroup nodes (and maybe others).

Should we add group_type internal to CoreAccountGroup and CoreGeneratorGroup so that they get filtered out from the available candidates?

Expected Behavior

CoreAccountGroup and CoreGeneratorGroup nodes should not be listed in the dropdown as available groups for users to add nodes to.

Steps to Reproduce

  • set up an instance of infrahub
  • import the demo schema / data and demo-edge repository
  • create a new tag
  • navigate to the node detail page of the new tag
  • click the manage groups button
  • the list of available dropdowns will contain CoreAccountGroups and CoreGeneratorGroups

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions