Skip to content

rules block: filter: Panic: interface conversion: interface {} is int, not string #794

Description

@saimikiry

Hi, devs! I found a problem similar to this one: #757

Using the value 00 as a filter will result in a panic:
Image

To reproduce the issue, you can modify the default configuration file as follows (filter: 00):

...

- description: "Search LDAP to create readers, writers and owners."
  ldapsearch:
    base: cn=users,dc=bridoulou,dc=fr
    filter: 00
  role:
    name: '{member.cn}'
    options: LOGIN
    parent: "{cn}"

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions