Describe the current behavior
Hello @dsagal,
I have seen your latest work on permitting editors to edit table structure. I have found out a weird thing with ACL for editors. Currently, editors, in some conditions, can see table structures even thoug we have not allowed them to edit table structure nor allow them to see any row from this table.
cc @hexaltation
Steps to reproduce
Here is a link of the Grist template I created for this issue.
The formula rec.id in user.Team.Main_Data is to me badly interprated by Grist core. This formula is used in a table rule to allow users to have access to specific rows and is used in addition with user.Access in [EDITOR] that I added in the by-default Grist file rule.
Some details of the template below:
- ACL
- Data
- What Paul sees
Describe the expected behavior
Paul should not even see the "Main data" table as he has access to zero row. Specifically, Paul should see an empty Grist document
If a user has access to zero rows of a table, it should not be able to see the table structure.
Where have you encountered this bug?
Instance information (when self-hosting only)
-
Grist instance:
- Version:
- URL (if it's OK for you to share it):
- Installation mode: docker/kubernetes/...
- Architecture: single-worker/multi-workers
-
Browser name, version and platforms on which you could reproduce the bug:
-
Link to browser console log if relevant:
-
Link to server log if relevant:
Describe the current behavior
Hello @dsagal,
I have seen your latest work on permitting editors to edit table structure. I have found out a weird thing with ACL for editors. Currently, editors, in some conditions, can see table structures even thoug we have not allowed them to edit table structure nor allow them to see any row from this table.
cc @hexaltation
Steps to reproduce
Here is a link of the Grist template I created for this issue.
The formula
rec.id in user.Team.Main_Datais to me badly interprated by Grist core. This formula is used in a table rule to allow users to have access to specific rows and is used in addition withuser.Access in [EDITOR]that I added in the by-default Grist file rule.Some details of the template below:
Describe the expected behavior
Paul should not even see the "Main data" table as he has access to zero row. Specifically, Paul should see an empty Grist document
If a user has access to zero rows of a table, it should not be able to see the table structure.
Where have you encountered this bug?
Instance information (when self-hosting only)
Grist instance:
Browser name, version and platforms on which you could reproduce the bug:
Link to browser console log if relevant:
Link to server log if relevant: