You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have a use case where we'd like to use Platformics as a public data portal, so some data should be accessible to users without any authentication token.
What are our options for supporting public data and private data alongside each other?
Do we support flags in templates to en/disable requiring auth at codegen-time?
Do we support overriding dependencies in the running api?
Do we just generate an anonymous principal for non-logged-in users?
How do we mark public vs private data in the db?
What's the level of effort for implementing each of the proposed solutions?
The text was updated successfully, but these errors were encountered:
Right now Platformics assumes that all endpoints require a logged-in user:
https://github.com/chanzuckerberg/platformics/blob/main/platformics/codegen/templates/api/types/class_name.py.j2#L417
We have a use case where we'd like to use Platformics as a public data portal, so some data should be accessible to users without any authentication token.
What are our options for supporting public data and private data alongside each other?
anonymous
principal for non-logged-in users?The text was updated successfully, but these errors were encountered: