1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-30 18:59:41 +02:00

fix(UAC): fix the ability to update the ownership of a resource from public to another type (#1054)

This commit is contained in:
Anthony Lapenna 2017-07-20 15:48:05 +02:00 committed by GitHub
parent 12eb9671de
commit 53583741ba
5 changed files with 6 additions and 1 deletions

View file

@ -73,7 +73,7 @@ function ($q, $state, UserService, ResourceControlService, Notifications, Authen
function updateOwnership() {
$('#loadingViewSpinner').show();
var resourceId = ctrl.resourceControl.ResourceId;
var resourceId = ctrl.resourceId;
var ownershipParameters = processOwnershipFormValues();
ResourceControlService.applyResourceControlChange(ctrl.resourceType, resourceId,