mirror of
https://github.com/portainer/portainer.git
synced 2025-08-05 13:55:21 +02:00
fix(group-access): fix authorize/deny all buttons behavior (#2813)
This commit is contained in:
parent
c39807e86c
commit
e4a81df42e
1 changed files with 3 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue