Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom Permissions UI doesn't support Sessions Variables in Data Tab Performance Mode #10518

Open
th3coop opened this issue Aug 28, 2024 · 0 comments
Labels
c/console Related to console k/bug Something isn't working

Comments

@th3coop
Copy link

th3coop commented Aug 28, 2024

Version Information

Server Version: v2.42.0

Environment

CE (I think?)

What is the current behaviour?

Yes, I realize this is an experimental feature. All good.

In Data Tab Performance Mode try to set a custom permission check for a table row using _in and a session variable.
The value section does not allow a session variable and turns into a list. Manually writing the JSON causes the UI to break.

What is the expected behaviour?

I can create the check in the UI

How to reproduce the issue?

  1. Enable Data Tab Performance Mode
  2. Try to set a custom permission check for a table row using _in and a session variable.
  3. value section does not allow a session variable and turns into a list. Manually writing the JSON causes the UI to break.

Screenshots or Screencast

Recording.2024-06-28.141239.mp4

Working Screenshot. Not In Performance Mode
image

Any possible solutions/workarounds you're aware of?

Editing the JSON by hand and saving. This appears to work as expect. I see the filter in the schema when I export it.

Keywords

  • session variables
  • _in
  • custom permissions
@th3coop th3coop added the k/bug Something isn't working label Aug 28, 2024
@manasag manasag added the c/console Related to console label Sep 4, 2024 — with Linear
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c/console Related to console k/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants