Skip to content

Access control, uploads and (maybe) setting a bad example. #36

Answered by jmikrut
richardvanbergen asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @richardvanbergen — great questions! Here are a few answers for you.

TL;DR:

  1. Yes, we can definitely mention access control in our upload docs. Good call. And I don't think we should necessarily open up access control to uploads by default, only because we think it's better to be secure by default and let end-users open up access control at their own discretion.
  2. Yes, access.create: () => true allows public creation of documents in the collection. We can add to our docs to make this more explicit as it should definitely be used only very deliberately.

Now, here's a bit more info.

For safety and security reasons, all access control is set to require that a user is logged in by default t…

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@richardvanbergen
Comment options

Answer selected by richardvanbergen
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants