One more fix needed
This commit is contained in:
parent
8f5710afe5
commit
3b9d13c42f
1 changed files with 1 additions and 1 deletions
|
@ -548,7 +548,7 @@ function RepoAdminCtrl($scope, Restangular, $routeParams, $rootScope) {
|
||||||
$scope.addRole = function(entityName, role, kind, is_org_member) {
|
$scope.addRole = function(entityName, role, kind, is_org_member) {
|
||||||
var permission = {
|
var permission = {
|
||||||
'role': role,
|
'role': role,
|
||||||
'is_org_member': !!is_org_member
|
'is_org_member': is_org_member
|
||||||
};
|
};
|
||||||
|
|
||||||
var permissionPost = Restangular.one(getRestUrl('repository', namespace, name, 'permissions', kind, entityName));
|
var permissionPost = Restangular.one(getRestUrl('repository', namespace, name, 'permissions', kind, entityName));
|
||||||
|
|
Reference in a new issue