portainer/api/http/handler/stacks
Chaim Lev-Ari adf33385ce
feat(containers): Prevent non-admin users from running containers using the host namespace pid (#4098)
* feat(containers): prevent non-admin users from running containers using the host namespace pid (#3970)

* feat(containers): Prevent non-admin users from running containers using the host namespace pid

* feat(containers): add rbac check for swarm stack too

* feat(containers): remove forgotten conflict

* feat(containers): init EnableHostNamespaceUse to true and return 403 on forbidden action

* feat(containers): change enableHostNamespaceUse to restrictHostNamespaceUse in html

* feat(settings): rename EnableHostNamespaceUse to AllowHostNamespaceForRegularUsers

* feat(database): trigger migration for AllowHostNamespace

* feat(containers): check container creation authorization

Co-authored-by: Maxime Bajeux <max.bajeux@gmail.com>
2020-07-25 11:14:46 +12:00
..
create_compose_stack.go feat(containers): Prevent non-admin users from running containers using the host namespace pid (#4098) 2020-07-25 11:14:46 +12:00
create_kubernetes_stack.go refactor(errors): reorganize errors (#3938) 2020-07-08 09:57:52 +12:00
create_swarm_stack.go feat(containers): Ensure users cannot create privileged containers via the API (#3969) (#4077) 2020-07-23 06:38:45 +12:00
git.go feat(stack-creation): add the ability to specify git reference (#1948) (#2063) 2018-07-24 16:11:35 +02:00
handler.go feat(containers): Ensure users cannot create privileged containers via the API (#3969) (#4077) 2020-07-23 06:38:45 +12:00
stack_create.go feat(containers): Prevent non-admin users from running containers using the host namespace pid (#4098) 2020-07-25 11:14:46 +12:00
stack_delete.go refactor(errors): reorganize errors (#3938) 2020-07-08 09:57:52 +12:00
stack_file.go refactor(errors): reorganize errors (#3938) 2020-07-08 09:57:52 +12:00
stack_inspect.go refactor(errors): reorganize errors (#3938) 2020-07-08 09:57:52 +12:00
stack_list.go refactor(errors): reorganize errors (#3938) 2020-07-08 09:57:52 +12:00
stack_migrate.go refactor(errors): reorganize errors (#3938) 2020-07-08 09:57:52 +12:00
stack_update.go refactor(errors): reorganize errors (#3938) 2020-07-08 09:57:52 +12:00