Skip to content

[Bug]: Cannot set a list of constraints for a permission #1373

Open
@dchiquito

Description

@dchiquito

Ansible NetBox Collection version

v3.10.0

Ansible version

2.18.1

NetBox version

v3.4.0

Python version

3.10

Steps to Reproduce

Try to set a list of dictionaries in the constraints field when defining a permission.

Expected Behavior

The list of constraints are used as a logical OR for the permission, as specified in https://netboxlabs.com/docs/netbox/en/stable/administration/permissions/

Observed Behavior

Lists are not allowed as the constraint field is set to type dict.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions