Hi team, I hope you’re all doing well. I need you...
# ask-questions
f
Hi team, I hope you’re all doing well. I need your help with a feature configuration we’re working on. We aim to make a feature available only to a specific group, termed the “user testing group,” and restrict access to all other users. This “user testing group” should include multiple users or teams. However, our current UI setup only supports an AND operator, not an OR operator, causing a challenge. I attempted to configure this using the advanced mode with the following JSON, but it didn’t work:
Copy code
{
  "$or": [
    {
      "teamId": "team_id_a"
    },
    {
      "teamId": "team_id_b"
    }
  ]
}
Adding also some screenshots for additional context https://share.zight.com/yAuzJdm1 https://share.zight.com/P8ur2LPJ Do you have any suggestions on how to achieve this? Thanks in advance! CC: @thankful-hamburger-22683
f
can you explain a bit more by 'didn't work'? The use or $or looks correct...
f
Thanks for the quick reply. I can’t really tell what the issue was when I tried but it is working fine now. 👍🏻