epam / ai-dial-chat

A default UI for AI DIAL
https://chat.lab.epam.com
Apache License 2.0
57 stars 24 forks source link

[Publication]: Filter function False does not work as expected #1781

Open YauheniyaH opened 1 month ago

YauheniyaH commented 1 month ago

EPAM AI DIAL chat version

0.15.0

How to reproduce

Precondition: user Pub_test_01@example.com has assigned Dial role = Developer, keycloak users do not have Dial role attribute at all

Steps:

  1. User create publish request for chat with filter Dial role =false
  2. Admin approve the request
  3. Pub_test_01@example.com open page and review published chats-> does not see the chat -> correct
  4. Keycloak user open page and review published chat-> does not see chat -> bug

Actual result

Keycloak user, which does not have Dial role attribute, can not see published chat

Expected result

users which do not have Dial role configured, should be able to see published resources with filter Dial role =False

Confidential information