User Selector role filter does not return local users in Compose module field

Hi everyone,

I’m testing a User Selector field inside a Compose module and I’m seeing an issue with the User roles filter.

Environment

  • Corteza version: 2024.9.8
  • User type: local Corteza users only
  • Not using OIDC for this test

What I configured

In the module field settings:

  • Field type: User selector

  • Under User roles, I selected a role to filter users, for example:

    • Project Manager

Expected behavior

I expect the selector to show only users that belong to the selected role.

Actual behavior

When I set any role in the User roles filter, the selector does not show any users at all.

If I remove the role filter completely, then users are shown normally.

What I already tested

  • I tested with only one role selected
  • I confirmed the users are local Corteza users
  • I verified the users are assigned to the role
  • I tested again after adjusting the configuration, but the result is the same
  • Without the role filter, the selector works

Question

Has anyone else seen this behavior with User Selector role filtering in Compose?

I’m trying to determine whether:

  • this is a known bug/regression
  • there is an additional requirement for role-based filtering to work
  • or this is expected behavior for some reason

Thanks in advance.

Hi, this seems to be related to a fix for 2024.9.9

Currently, 2024.9.9-rc.1 is out, so you can test and see if it was fixed for you too.

If you can, next time you notice anything, open up an issue on GitHub instead of here.
Thanks for reporting it.

1 Like