feat(settings): hide stacks for non admin when settings is set (#4025)
* refactor(settings): replace disableDeviceMapping with allow * feat(dashboard): hide stacks if settings disabled and non admin * refactor(sidebar): check if user is endpoint admin * feat(settings): set the default value for stack management * feat(settings): rename field label * fix(sidebar): refresh show stacks state
This commit is contained in:
@@ -6,6 +6,6 @@ angular.module('portainer.docker').component('dockerSidebarContent', {
|
||||
standaloneManagement: '<',
|
||||
adminAccess: '<',
|
||||
offlineMode: '<',
|
||||
hideStacks: '<',
|
||||
showStacks: '<',
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user