1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-24 15:59:41 +02:00
portainer/api/http/proxy/factory/docker
Chaim Lev-Ari 07efd4bdda
feat(settings): add setting to disable device mapping for regular users (#4099)
* feat(settings): add setting to disable device mapping for regular users

* feat(settings): introduce device mapping service

* feat(containers): hide devices field when setting is on

* feat(containers): prevent passing of devices when not allowed

* feat(stacks): prevent non admin from device mapping

* feat(stacks): disallow swarm stack creation for user

* refactor(settings): replace disableDeviceMapping with allow

* fix(stacks): remove check for disable device mappings from swarm

* feat(settings): rename field to disable

* feat(settings): supply default value for disableDeviceMapping

* feat(container): check for endpoint admin

* style(server): sort imports
2020-07-27 09:31:14 +12:00
..
access_control.go refactor(portainer): introduce internal package (#3924) 2020-06-16 19:58:16 +12:00
build.go feat(api): rewrite access control management in Docker (#3337) 2019-11-13 12:41:42 +13:00
configs.go refactor(portainer): introduce internal package (#3924) 2020-06-16 19:58:16 +12:00
containers.go feat(settings): add setting to disable device mapping for regular users (#4099) 2020-07-27 09:31:14 +12:00
networks.go refactor(portainer): introduce internal package (#3924) 2020-06-16 19:58:16 +12:00
registry.go feat(api): rewrite access control management in Docker (#3337) 2019-11-13 12:41:42 +13:00
secrets.go refactor(portainer): introduce internal package (#3924) 2020-06-16 19:58:16 +12:00
services.go refactor(portainer): introduce internal package (#3924) 2020-06-16 19:58:16 +12:00
swarm.go feat(api): rewrite access control management in Docker (#3337) 2019-11-13 12:41:42 +13:00
tasks.go feat(api): rewrite access control management in Docker (#3337) 2019-11-13 12:41:42 +13:00
transport.go feat(containers): Ensure users cannot create privileged containers via the API (#3969) (#4077) 2020-07-23 06:38:45 +12:00
volumes.go feat(volumes): Ensure a unique identifier for volumes (#3879) 2020-07-07 12:01:18 +12:00