Ability to Add/Remove Groups to/from a Repository via API

Issue #329 resolved
David Hoffman created an issue

I am really enjoying your product, but I find that I have to manually go in and add "Groups" to a Repository and then can only add one at a time...

I am able to use the API to set a "User" but not a group. The same funcitonality would be stellar:


#!Request for Enhancement

Add a group to a repository. This command can be executed only using api_key belonging to user with admin rights. If “perm” is None, group will be removed from the repository.

api_key : "<api_key>" method : "add_group_to_repo" args: { "repo_name" : "<reponame>", "group_name" : "<groupname>", "perm" : "(None|repository_(read|write|admin))", }


Comments (2)

  1. Marcin Kuzminski repo owner

    Odd we missed such obvious function, implemented in beta. Thanks. This will be backported to next bugfix release

  2. Log in to comment