harbor/src/common/rbac
He Weiwei e254fe3095
fix(permissions): permissions checking for member and quota info (#9490)
1. Only show project member info when has member list permission.
2. Only show quota info when has quota read permission.
3. Add quota read permission for all roles of project.
4. Refactor permission service in portoal.
5. Clear cache when clear session.

Closes #8697

Signed-off-by: He Weiwei <hweiwei@vmware.com>
2019-10-21 14:03:52 +08:00
..
project fix(permissions): permissions checking for member and quota info (#9490) 2019-10-21 14:03:52 +08:00
casbin_test.go Replace casbin builtin keyMatch2 with custom match func 2019-01-29 01:26:38 +08:00
casbin.go Replace casbin builtin keyMatch2 with custom match func 2019-01-29 01:26:38 +08:00
const.go fix(permissions): permissions checking for member and quota info (#9490) 2019-10-21 14:03:52 +08:00
namespace_test.go fix(rbac): NewProjectNamespace in rbac only accept projectID 2019-08-21 19:37:28 +00:00
namespace.go fix(rbac): NewProjectNamespace in rbac only accept projectID 2019-08-21 19:37:28 +00:00
parser_test.go fix(rbac): NewProjectNamespace in rbac only accept projectID 2019-08-21 19:37:28 +00:00
parser.go fix(rbac): NewProjectNamespace in rbac only accept projectID 2019-08-21 19:37:28 +00:00
rbac_test.go Replace casbin builtin keyMatch2 with custom match func 2019-01-29 01:26:38 +08:00
rbac.go fix(robot): robot account improvement for policies 2019-09-27 03:07:58 +00:00