Kallithea issues archive

Issue #54: API: add usage of some methods for users who have admin rights (local admin) + new methods

Reported by: Arnaud GUT
State: new
Created on: 2014-11-19 15:40
Updated on: 2014-11-19 17:30


The following methods are only usable by a (super) admin. Goal of this enhancement would be to add the usage of these methods to user who have admin rights or are part of a user's group who has admin rights: grant_user_group_permission revoke_user_group_permission grant_user_permission revoke_user_permission

Create the following methods (usable by both admin and user who have admin rights): grant_user_permission_to_user_group revoke_user_permission_from_user_group grant_user_group_permission_to_user_group revoke_user_group_permission_from_user_group

In addition, add the possibility for get_<repo|repo_group|user_group> to return the members attribute with all details about defined permissions.



Comment by Mads Kiilerich, on 2014-11-19 17:30

It sounds like you have looked into it in detail. A patch would probably be the most efficient way to communicate the details and make it happen ;-)