portainer/api/http/handler
Chaim Lev-Ari fa9eeaf3b1
feat(settings): introduce disable stack management setting (#4100)
* feat(stacks): add a setting to disable the creation of stacks for non-admin users

* feat(settings): introduce a setting to prevent non-admin from stack creation

* feat(settings): update stack creation setting

* feat(settings): fail stack creation if user is non admin

* fix(settings): save preventStackCreation setting to state

* feat(stacks): disable add button when settings is enabled

* format(stacks): remove line

* feat(stacks): setting to hide stacks from users

* feat(settings): rename disable stacks setting

* refactor(settings): rename setting to disableStackManagementForRegularUsers

* feat(settings): hide stacks for non admin when settings is set

* 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

* fix(docker): hide stacks when not admin
2020-07-27 19:11:32 +12:00
..
auth refactor(errors): reorganize errors (#3938) 2020-07-08 09:57:52 +12:00
customtemplates fix(api): fix issues with old error declaration 2020-07-08 12:25:37 +12:00
dockerhub refactor(errors): reorganize errors (#3938) 2020-07-08 09:57:52 +12:00
edgegroups refactor(errors): reorganize errors (#3938) 2020-07-08 09:57:52 +12:00
edgejobs refactor(errors): reorganize errors (#3938) 2020-07-08 09:57:52 +12:00
edgestacks refactor(errors): reorganize errors (#3938) 2020-07-08 09:57:52 +12:00
edgetemplates feat(api): introduce new datastore interface (#3802) 2020-06-03 11:40:04 +12:00
endpointedge refactor(errors): reorganize errors (#3938) 2020-07-08 09:57:52 +12:00
endpointgroups refactor(errors): reorganize errors (#3938) 2020-07-08 09:57:52 +12:00
endpointproxy refactor(errors): reorganize errors (#3938) 2020-07-08 09:57:52 +12:00
endpoints refactor(errors): reorganize errors (#3938) 2020-07-08 09:57:52 +12:00
extensions refactor(errors): reorganize errors (#3938) 2020-07-08 09:57:52 +12:00
file fix(api): remove x-frame-options header (#2322) 2018-10-03 14:18:03 +13:00
motd feat(api): prevent non administrator users to use admin restricted API endpoints (#3227) 2019-10-07 16:10:51 +13:00
registries refactor(errors): reorganize errors (#3938) 2020-07-08 09:57:52 +12:00
resourcecontrols refactor(errors): reorganize errors (#3938) 2020-07-08 09:57:52 +12:00
roles feat(api): introduce new datastore interface (#3802) 2020-06-03 11:40:04 +12:00
settings feat(settings): introduce disable stack management setting (#4100) 2020-07-27 19:11:32 +12:00
stacks feat(settings): introduce disable stack management setting (#4100) 2020-07-27 19:11:32 +12:00
status fix(api): fix invalid restriction on StatusInspectVersion 2019-10-08 11:45:16 +13:00
support feat(app): add externally sourced support options (#3249) 2019-10-10 10:59:27 +13:00
tags refactor(errors): reorganize errors (#3938) 2020-07-08 09:57:52 +12:00
teammemberships refactor(errors): reorganize errors (#3938) 2020-07-08 09:57:52 +12:00
teams refactor(errors): reorganize errors (#3938) 2020-07-08 09:57:52 +12:00
templates feat(custom-templates): introduce custom templates (#3906) 2020-07-07 11:18:39 +12:00
upload refactor(errors): reorganize errors (#3938) 2020-07-08 09:57:52 +12:00
users refactor(errors): reorganize errors (#3938) 2020-07-08 09:57:52 +12:00
webhooks refactor(errors): reorganize errors (#3938) 2020-07-08 09:57:52 +12:00
websocket refactor(errors): reorganize errors (#3938) 2020-07-08 09:57:52 +12:00
handler.go feat(custom-templates): introduce custom templates (#3906) 2020-07-07 11:18:39 +12:00