Skip to content
This repository has been archived by the owner on Dec 14, 2017. It is now read-only.

Repository collaborators REST endpoints #42

Closed
3 tasks done
mpsonntag opened this issue Oct 20, 2016 · 1 comment · Fixed by #56
Closed
3 tasks done

Repository collaborators REST endpoints #42

mpsonntag opened this issue Oct 20, 2016 · 1 comment · Fixed by #56
Assignees

Comments

@mpsonntag
Copy link
Contributor

mpsonntag commented Oct 20, 2016

Create collaborators REST endpoints:

  • GET collaborators for a repository.
  • PUT a new collaborator.
  • DELETE an existing collaborator.
@mpsonntag
Copy link
Contributor Author

mpsonntag commented Nov 8, 2016

PUT also has to add repo permissions for the new collaborator. It will therefore only add a new collaborator, but will not update an existing one, since it would otherwise have to account for changes in permissions. For updating an already existing collaborator there should actually be a PATCH endpoint that specifically deals with such changes.

mpsonntag added a commit to mpsonntag/gin-repo that referenced this issue Nov 9, 2016
mpsonntag added a commit to mpsonntag/gin-repo that referenced this issue Nov 10, 2016
@gicmo gicmo closed this as completed in #56 Nov 10, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant