2247d8c3a2
* + endpoint and namespace level authorizations + user namespace authorization API + k8s client setup service account with k8s roles and policies by portainer role * User authorization changes refresh token cache * rbac authorizes k8s requests * CE to EE migrator to include new authorizations * code clean up * comments * * merge in the RestrictDefaultNamespace changes * - remove unnecessary check for default namespace * + updates namespace access policies when generating token * * updates namespace access policies when querying the user namespace endpoint * + k8s rule in rbac.go for endpoint access test + missing k8s cluster rules for different roles * feat(rbac): update kube rbac * feat(rbac): use the authorization directive * feat(rbac): Update namespace access policies when user/team is deleted * refactor(app): use new angular-multi-select capabilities * feat(rbac): fix authorizations * feat(rbac): fix userAccessPolicies update bug * feat(rbac): add W applications authorizations * feat(rbac): add application details W authorizations * feat(rbac): add configurations W autohorizations * feat(rbac): add configuration details W authorizations * feat(rbac): add volumes W authorizations * feat(rbac): add volume details W authorizations * feat(rbac): add componentstatus to portainer-view role and add cluster/node authorizations * fix(rbac): disable application note for non authorized user * fix(rbac): add endpoints list and components status to portainer-basic * fix(rbac): allow user to access default namespace when restrict default namespace isn't activated * fix(rbac): remove default namespace from useraccesspolicies when restrict default namespace isn't activated * fix(rbac): change some things * fix(rbac): allow standard user to access container console * - removed unused parameter * fix(rbac): fix team authorizations Co-authored-by: Maxime Bajeux <max.bajeux@gmail.com> Co-authored-by: xAt0mZ <baron_l@epitech.eu>
43 lines
1.8 KiB
Modula-2
43 lines
1.8 KiB
Modula-2
module github.com/portainer/portainer/api
|
|
|
|
go 1.13
|
|
|
|
require (
|
|
github.com/Microsoft/go-winio v0.4.14
|
|
github.com/asaskevich/govalidator v0.0.0-20190424111038-f61b66f89f4a
|
|
github.com/boltdb/bolt v1.3.1
|
|
github.com/containerd/containerd v1.3.1 // indirect
|
|
github.com/coreos/go-semver v0.3.0
|
|
github.com/dchest/uniuri v0.0.0-20160212164326-8902c56451e9
|
|
github.com/dgrijalva/jwt-go v3.2.0+incompatible
|
|
github.com/docker/cli v0.0.0-20191126203649-54d085b857e9
|
|
github.com/docker/docker v0.7.3-0.20190327010347-be7ac8be2ae0
|
|
github.com/g07cha/defender v0.0.0-20180505193036-5665c627c814
|
|
github.com/go-ldap/ldap/v3 v3.1.8
|
|
github.com/gofrs/uuid v3.2.0+incompatible
|
|
github.com/gorilla/mux v1.7.3
|
|
github.com/gorilla/securecookie v1.1.1
|
|
github.com/gorilla/websocket v1.4.1
|
|
github.com/imdario/mergo v0.3.8 // indirect
|
|
github.com/jpillora/chisel v0.0.0-20190724232113-f3a8df20e389
|
|
github.com/json-iterator/go v1.1.10
|
|
github.com/koding/websocketproxy v0.0.0-20181220232114-7ed82d81a28c
|
|
github.com/mattn/go-shellwords v1.0.6 // indirect
|
|
github.com/mitchellh/mapstructure v1.1.2 // indirect
|
|
github.com/orcaman/concurrent-map v0.0.0-20190826125027-8c72a8bb44f6
|
|
github.com/portainer/libcompose v0.5.3
|
|
github.com/portainer/libcrypto v0.0.0-20190723020515-23ebe86ab2c2
|
|
github.com/portainer/libhttp v0.0.0-20190806161843-ba068f58be33
|
|
github.com/portainer/liblicense v0.0.0-20201014034501-91f389a90f8b
|
|
golang.org/x/crypto v0.0.0-20191128160524-b544559bb6d1
|
|
golang.org/x/net v0.0.0-20191126235420-ef20fe5d7933 // indirect
|
|
golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45
|
|
gopkg.in/alecthomas/kingpin.v2 v2.2.6
|
|
gopkg.in/src-d/go-git.v4 v4.13.1
|
|
k8s.io/api v0.17.2
|
|
k8s.io/apimachinery v0.17.2
|
|
k8s.io/client-go v0.17.2
|
|
)
|
|
|
|
replace github.com/docker/docker => github.com/docker/engine v1.4.2-0.20200204220554-5f6d6f3f2203
|