Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hide private data by default, add option to show private data #34

Open
timoweiss opened this issue Jan 17, 2016 · 1 comment
Open

hide private data by default, add option to show private data #34

timoweiss opened this issue Jan 17, 2016 · 1 comment

Comments

@timoweiss
Copy link
Member

By default, the API should not expose data marked as "private". But if the requesting user requests its own data, the private date should be returned.

This applies (among others) to:

  • locations
  • journeys (in future)
@timoweiss
Copy link
Member Author

We can add a flag show_private to the request pattern. This can be set to true if the call comes from a me/ route

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant