Skip to content
This repository has been archived by the owner on Dec 22, 2023. It is now read-only.

ACL setting is ignored when no user is logged in #59

Closed
cheungpat opened this issue Jun 28, 2016 · 0 comments
Closed

ACL setting is ignored when no user is logged in #59

cheungpat opened this issue Jun 28, 2016 · 0 comments
Assignees
Milestone

Comments

@cheungpat
Copy link
Contributor

cheungpat commented Jun 28, 2016

No description provided.

cheungpat added a commit to cheungpat/skygear-server that referenced this issue Jun 28, 2016
When there is no user for the query, the ACL is ignored because
ReadableBy is empty. The builder should only ignore ACL if the
database is a private database.

ReadableBy is renamed as ViewAsUser to avoid the variable semantics
to be overloadded with whether to apply ACL. If ViewAsUser is nil,
only public records can be queried.

refs SkygearIO#59
@rickmak rickmak closed this as completed Jun 29, 2016
@rickmak rickmak removed the In Review label Jun 29, 2016
@royuen royuen added this to the 0.13 milestone Jun 29, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants