Remove unused cache key method for serialized submission set summaries
Start checking data permissions
- Add a dataset permission model
- Create permissions automatically when creating a dataset, apikey, or origin.
- Check data permissions when showing submissions
- Update view querysets to prefetch permissions
Rearrange the CORS authenticator to not perform needless queries
Cut down on the queries made in submission requests
Add dataset permissions to the admin
Reduce (slightly) the number of queries that have to be run for place lists
Accept either submission_set models or names when checking data permissions
Remove global permissions when no user and no client (because that's a terrible idea)
Abstract common permission checking code into a function
Add a DRF permission class for checking data permissions
Initialize data permissions on all existing datasets and clients
Merge pull request #13 from openplans/data-permissions

Data permissions