harbor/src/server/middleware
Wang Yan 0cf43d766c
enable system resource access (#13826)
1, introduce & define the system resources.
2, replace the IsSysAdmin judge method.
3, give the robot the system access capability.

Signed-off-by: Wang Yan <wangyan@vmware.com>
2021-01-07 15:45:04 +08:00
..
apiversion Relocate/rename some packages (#11183) 2020-03-24 20:45:45 +08:00
artifactinfo Limit the permission of secret used by proxy cache service 2020-07-27 10:15:00 +08:00
blob fix: remove auto re-readable body in BeforeRequest 2020-11-20 01:41:12 +00:00
contenttrust Check the tag in isArtifactSigned func 2020-09-05 17:00:55 +08:00
csrf Store csrf token in the header of response instead of cookie 2020-08-20 15:46:02 +08:00
immutable move send error to source lib (#12175) 2020-06-19 01:04:50 +08:00
log move logger from common to lib 2020-04-02 14:09:03 +08:00
metric Fix instrumenting handler nest issue 2020-12-01 17:12:19 +08:00
notification Relocate/rename some packages (#11183) 2020-03-24 20:45:45 +08:00
orm Relocate/rename some packages (#11183) 2020-03-24 20:45:45 +08:00
quota fix(quota): change log to debug level when warning not found 2020-08-24 07:55:46 +00:00
readonly move send error to source lib (#12175) 2020-06-19 01:04:50 +08:00
repoproxy Refactor Manifest cache process 2021-01-06 14:01:02 +08:00
requestid feat(beego): upgrade beego to v1.12 which support middleware (#10524) 2020-01-20 16:41:49 +08:00
security enable visible when to list/create robot (#13840) 2021-01-04 10:24:31 +08:00
session Relocate/rename some packages (#11183) 2020-03-24 20:45:45 +08:00
transaction move send error to source lib (#12175) 2020-06-19 01:04:50 +08:00
util refactor(security): use controller instead of promgr in security 2020-10-19 10:33:51 +00:00
v2auth enable system resource access (#13826) 2021-01-07 15:45:04 +08:00
vulnerable Store vulnerability data from scanner into a relational format (#13616) 2020-12-25 08:47:46 +08:00
middleware_test.go feat(beego): upgrade beego to v1.12 which support middleware (#10524) 2020-01-20 16:41:49 +08:00
middleware.go fix: remove auto re-readable body in BeforeRequest 2020-11-20 01:41:12 +00:00
skipper_test.go feat(middleware): add transaction middleware for v2 and v2.0 APIs 2020-01-22 05:00:39 +00:00
skipper.go feat(quota): add Request and Refresh middlewares for APIs (#10907) 2020-03-11 22:25:40 +08:00