mirror of
https://github.com/appy-one/acebase-server.git
synced 2026-05-25 06:02:16 -06:00
[GH-ISSUE #40] rules.json incorrect root path for .schema #17
Labels
No labels
bug
enhancement
feature request
pull-request
types
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/acebase-server#17
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @donl on GitHub (Oct 23, 2022).
Original GitHub issue: https://github.com/appy-one/acebase-server/issues/40
Originally assigned to: @appy-one on GitHub.
When loading
.schemarules fromrules.json, thepathbeing returned by the client usingdb.schema.all()are being prefixed with/rules@appy-one commented on GitHub (Oct 23, 2022):
Thanks for reporting, I'll look at it tomorrow!
@appy-one commented on GitHub (Oct 25, 2022):
I found the culprit:
dcdf9fd0cf/src/rules.ts (L111)This should be
accessRules.rulesI'll publish a fix just now
@appy-one commented on GitHub (Oct 25, 2022):
Hi Don, I published version 1.14.0 that should fix this!
Let me know if all works ok!