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

API auth #75

Closed
zzgvh opened this issue Aug 15, 2012 · 3 comments
Closed

API auth #75

zzgvh opened this issue Aug 15, 2012 · 3 comments
Assignees
Milestone

Comments

@zzgvh
Copy link
Contributor

zzgvh commented Aug 15, 2012

We want to publish resources with "privileged" data, e.g. user data, possibly donation details etc. To access privileged information we need authentication and authorization. Tastypie provides a basic framework for this that we can use as a starting point.

@ghost ghost assigned zzgvh Aug 15, 2012
@zzgvh
Copy link
Contributor Author

zzgvh commented Aug 15, 2012

Discussions about API keys reached the conclusion that we need API keys both for individual users and for organisations. After some more thought on this I would say API keys bound to organisations is non-trivial at best. The reason for this is that all Django authorization is based on users. There has to be a user account involved whenever we want to access django.auth, i.e. groups and permissions.

zzgvh added a commit that referenced this issue Sep 4, 2012
Upgrade the akvo/api folder to be a proper Django application
Add the app to INSTALLED_APPS
zzgvh added a commit that referenced this issue Sep 4, 2012
Add api resources for Invoice, User and UserProfile models.
Add ApiKey that generates a key associated with a UserProfile when a
profile is saved in the admin
@adriancollier
Copy link
Contributor

Is this resolved and in the 2.1.1 release?

@zzgvh
Copy link
Contributor Author

zzgvh commented Sep 11, 2012

Yes, API keys are implemented in 2.1.1. I'll give a more detailed description of it in the docs for the API.

@zzgvh zzgvh closed this as completed Sep 11, 2012
@MichaelAkvo MichaelAkvo moved this to Done in RSR Dec 8, 2022
@MichaelAkvo MichaelAkvo added this to RSR Dec 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

No branches or pull requests

2 participants