datahuborg / datahub

An experimental hosted platform (GitHub-like) for organizing, managing, sharing, collaborating, and making sense of data.
https://datahub.csail.mit.edu
MIT License
210 stars 60 forks source link

add ability to grant CREATE to collaborators #157

Open RogerTangos opened 8 years ago

RogerTangos commented 8 years ago

Collaborators cannot currently create new tables in repos which they do not own. Repo owners should have the option of enabling this.

This will require a method in each of manager.py, connection.py, and pg.py.

Then, the API will need a new endpoint in urls.py a new method in serializer.py RepoSerializer, and a new associated view in api views.py

browser views.py repo_collaborator_add will need to be updated, along with the associated template, repo-settings.html.

Finally, associated tests will need to be updated.

This is a straightforward issue, but touches many different parts of the DataHub project. Similar endpoints are already created, so example code is already available in the existing codebase. If you're looking for a medium sized (but not too complicated) thing to start with, this issue is a good one.