[GH-ISSUE #70] read/write rules undefined env values #22

Closed
opened 2026-05-23 08:38:44 -06:00 by gitea-mirror · 3 comments
Owner

Originally created by @donl on GitHub (Jan 9, 2023).
Original GitHub issue: https://github.com/appy-one/acebase-server/issues/70

Originally assigned to: @appy-one on GitHub.

When evaluating server rules, the variables data, newData, and root are undefined.

Is supporting any of these doable in the near future-- short of a full refactoring as mentioned in the source?

Originally created by @donl on GitHub (Jan 9, 2023). Original GitHub issue: https://github.com/appy-one/acebase-server/issues/70 Originally assigned to: @appy-one on GitHub. When evaluating server rules, the variables ```data```, ```newData```, and ```root``` are undefined. Is supporting any of these doable in the near future-- short of a full refactoring as mentioned in the source?
Author
Owner

@appy-one commented on GitHub (Jan 9, 2023):

I'll check if recent code changes made implementing this possible/easier

<!-- gh-comment-id:1375310737 --> @appy-one commented on GitHub (Jan 9, 2023): I'll check if recent code changes made implementing this possible/easier
Author
Owner

@appy-one commented on GitHub (May 8, 2023):

Hi @donl I released this in v1.17.0 with updated docs. Note that the implementation is different from Firebase's, not less powerful though! Let me know if all works as expected

<!-- gh-comment-id:1538649072 --> @appy-one commented on GitHub (May 8, 2023): Hi @donl I released this in v1.17.0 with updated docs. Note that the implementation is different from Firebase's, not less powerful though! Let me know if all works as expected
Author
Owner

@donl commented on GitHub (May 8, 2023):

Awesome! Looking forward to taking it for a spin! Thanks

<!-- gh-comment-id:1539181465 --> @donl commented on GitHub (May 8, 2023): Awesome! Looking forward to taking it for a spin! Thanks
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/acebase-server#22
No description provided.