1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-08-07 14:55:27 +02:00

fix(access-control): show only environment users [EE-6315] (#10614)

This commit is contained in:
Chaim Lev-Ari 2023-11-15 09:33:29 +02:00 committed by GitHub
parent 3525a1af77
commit 51474262eb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
17 changed files with 53 additions and 38 deletions

View file

@ -53,6 +53,7 @@
resource-control="volume.ResourceControl"
resource-type="resourceType"
on-update-success="(onUpdateResourceControlSuccess)"
environment-id="endpoint.Id"
>
</access-control-panel>
<!-- !access-control-panel -->

View file

@ -12,6 +12,7 @@ angular.module('portainer.docker').controller('VolumeController', [
'endpoint',
function ($scope, $state, $transition$, VolumeService, ContainerService, Notifications, HttpRequestHelper, endpoint) {
$scope.resourceType = ResourceControlType.Volume;
$scope.endpoint = endpoint;
$scope.onUpdateResourceControlSuccess = function () {
$state.reload();