harbor/src/pkg
He Weiwei 2a243ef7a2
refactor(rbac): refactor rbac impl to improve performance (#9988)
1. Introduce `Evaluator` interface which do the permission checking.
2. `admin`, `lazy`, `rbac`, `namespace` and `evaluartor` set are implemented the
`Evaluator` interface.
3. Move project rbac implemention from `project` to `rbac` pkg to reduce
the name  conflict with project instance of model.
4. Do permission checking in security context by `Evaluator`.
5. Cache the regexp in rbac evaluator for casbin.
6. Cache evaluator in namespace evaluator to improve performance.

Signed-off-by: He Weiwei <hweiwei@vmware.com>
2020-03-12 23:42:53 +08:00
..
artifact feat(scan): support to scan image index (#11001) 2020-03-12 19:30:12 +08:00
artifactrash Fix gc issue on clean the artifact trash 2020-03-06 03:11:31 +08:00
audit Refactor event model (#10876) 2020-03-11 11:51:28 +08:00
authproxy update chart sdk to support helm v3 2020-03-02 11:39:09 +08:00
blob feat(quota): add Request and Refresh middlewares for APIs (#10907) 2020-03-11 22:25:40 +08:00
chart update chart sdk to support helm v3 2020-03-02 11:39:09 +08:00
clients/core Fix chart api for oci registry introduece api version 2020-02-26 17:05:02 +08:00
distribution feat(quota): add Request and Refresh middlewares for APIs (#10907) 2020-03-11 22:25:40 +08:00
immutabletag feature(tag_retention) add checkbox for user to control whether remove untagged image 2020-03-12 22:50:21 +08:00
label Support add/remove label to/from artifact 2020-02-13 10:46:23 +08:00
notification add support slack in webhook 2020-03-11 17:19:38 +08:00
notifier feat(scan): support to scan image index (#11001) 2020-03-12 19:30:12 +08:00
permission refactor(rbac): refactor rbac impl to improve performance (#9988) 2020-03-12 23:42:53 +08:00
project Implement tag/artifact manager and artifact controller 2020-01-08 20:19:48 +08:00
q Accept the pagination information in the separated query string (#10991) 2020-03-09 22:19:42 +08:00
quota feat(quota): add Request and Refresh middlewares for APIs (#10907) 2020-03-11 22:25:40 +08:00
registry Reimplement the registry client 2020-02-24 14:36:26 +08:00
repository Implement delete/update repository API 2020-02-20 08:39:26 +08:00
retention feature(tag_retention) add checkbox for user to control whether remove untagged image 2020-03-12 22:50:21 +08:00
robot refactor(rbac): refactor rbac impl to improve performance (#9988) 2020-03-12 23:42:53 +08:00
scan feat(scan): support to scan image index (#11001) 2020-03-12 19:30:12 +08:00
scheduler Register registry handler with the new methods of Route 2020-02-03 16:55:08 +08:00
signature Refresh notary test data 2020-02-24 19:46:17 +08:00
tag Implement delete/update repository API 2020-02-20 08:39:26 +08:00
token refactor(rbac): refactor rbac impl to improve performance (#9988) 2020-03-12 23:42:53 +08:00
types fix(scanner): process scenario reinstall without clair flag 2019-11-15 09:47:30 +00:00
version inject ldflags for harbor compiler and linker 2019-10-30 18:31:42 +08:00