Rename cors.OriginPermission model to cors.Origin
Protect against no 'url' field in dataset JSON (should only happen in tests, if ever)
Add a submitter role model, and an admin interface for editing it
Add permissions for roles, keys, and origins
New test to confirm API error where the submission table downloads would not get new values on subsequent downloads
Clear dataset-wide tabular cache for submission instances
Add a note about registering keys with the cache
Add dependency of permissions on renaming of the Origin model
Add permission inlines to api keys and origins
Create default permissions for existing API keys
Priority model updates
- Add a priority field to each permission row
- Add a can_retrieve permission field
- Add the ability to reorder permissions by drag and drop
Merge branch 'heroku-deploy' into role-permissions
Serialize user roles on the user
Rename roles to groups
...in order to convey the notion that you should use a plural name
Test fix
Prefetch submitter groups to eliminate queries
Make the groups field read-only
Fix for serializing an attachment file field
- Use obj.name instead of obj.file.name. The latter will fail with an IOException if the file does not exist or is not accessible for any reason. Also, it is needlessly slow to try to access each file just to get the name when we already have it.
Preload page list so that query won't be run twice
Merge branch 'master' into core-admin-manager

Conflicts:
	src/sa_api_v2/admin.py
	src/sa_api_v2/apikey/admin.py
	src/sa_api_v2/cors/admin.py