mirror of https://github.com/portainer/portainer
fix(group-access): fix authorize/deny all buttons behavior (#2813)
parent
c39807e86c
commit
e4a81df42e
|
@ -91,9 +91,11 @@ function (AccessService, Notifications) {
|
|||
var access = source[i];
|
||||
if (!access.Inherited) {
|
||||
target.push(access);
|
||||
source.splice(i, 1);
|
||||
}
|
||||
}
|
||||
_.remove(source, function(e){
|
||||
return !e.Inherited
|
||||
});
|
||||
}
|
||||
|
||||
ctrl.unauthorizeAllAccesses = function() {
|
||||
|
|
Loading…
Reference in New Issue