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

Testing a "choice list" linked by the "User Attributes" in the "Access Rules" displays the error : "t.includes is not a function" #1511

Open
1 of 2 tasks
mmaura opened this issue Mar 13, 2025 · 2 comments

Comments

@mmaura
Copy link

mmaura commented Mar 13, 2025

Describe the current behavior

Since the last Grist update (1.4.2) it is no longer possible to associate user permissions with a list of choices defined in the table of "User Attributes" without obtaining the error message t.includes is not a function.
However, the previously defined rights work correctly.

Steps to reproduce

  1. create a "User" table, containing a mail field and an ACL field (of choice list type).

Image

  1. define the user table as the "User Attributes" table

  2. Try to define a rule relating to the ACL field : 'Saisie' in user.sdis.ACL

Image

Describe the expected behavior

It should be possible to define rights as before.

Where have you encountered this bug?

Instance information (when self-hosting only)

  • Grist instance:

    • Version: 1.4.2
    • Installation mode: docker
    • Architecture: single-worker
  • Browser name, version and platforms on which you could reproduce the bug: not relevant Brave [Version 1.76.73 Chromium: 134.0.6998.45 (Build officiel) (64 bits)] - Arch Linux

  • Link to browser console log if relevant: not relevant

  • Link to server log if relevant: not relevant

@dsagal
Copy link
Member

dsagal commented Mar 13, 2025

Thanks for reporting. This is a recent breakage -- we are aware of it and working on a fix.

@mmaura
Copy link
Author

mmaura commented Mar 14, 2025

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants