harbor/src/common/models
stonezdj 6313a55219 Fix admin permission not revoked when removed from LDAP admin group
Seperate the HasAdminRole(In DB) with the privileges from external auth, and use user.HasAdminPrivilege to check

Signed-off-by: stonezdj <stonezdj@gmail.com>
2019-12-20 13:12:22 +08:00
..
accesslog.go Replacing copyright notices with "Copyright Project Harbor Authors". 2018-09-19 16:59:36 +00:00
adminjob.go do improvements to the scan all job 2019-11-05 15:12:07 +08:00
artifact_blob.go add dao of artifact 2019-07-08 23:42:50 +08:00
artifact.go Add quota workflow for quota 2019-07-16 14:48:05 +08:00
authmodel.go Replacing copyright notices with "Copyright Project Harbor Authors". 2018-09-19 16:59:36 +00:00
base.go do changes to let the vul policy check compatiable with new framework 2019-10-16 23:15:26 +08:00
blob.go fix(quota): correct size quota for image with foreign layers 2019-09-02 14:10:58 +00:00
clair.go Replacing copyright notices with "Copyright Project Harbor Authors". 2018-09-19 16:59:36 +00:00
config.go Get rid of case-sensitivity in authproxy setting 2019-12-04 21:39:40 +08:00
cve_whitelist_test.go Apply CVE white list in interceptor 2019-07-03 14:13:00 +08:00
cve_whitelist.go Apply CVE white list in interceptor 2019-07-03 14:13:00 +08:00
hook_notification_test.go webhook policy, job, event support 2019-08-07 20:30:26 +08:00
hook_notification.go webhook policy, job, event support 2019-08-07 20:30:26 +08:00
job.go Replacing copyright notices with "Copyright Project Harbor Authors". 2018-09-19 16:59:36 +00:00
joblog.go Add UT and review comments and issue fix (#6144) 2018-11-28 17:43:14 +08:00
label_test.go Replacing copyright notices with "Copyright Project Harbor Authors". 2018-09-19 16:59:36 +00:00
label.go Replacing copyright notices with "Copyright Project Harbor Authors". 2018-09-19 16:59:36 +00:00
ldap.go Add new parameter ldap_group_membership_attribute 2019-03-03 10:03:22 +08:00
member.go Replacing copyright notices with "Copyright Project Harbor Authors". 2018-09-19 16:59:36 +00:00
notification.go Replacing copyright notices with "Copyright Project Harbor Authors". 2018-09-19 16:59:36 +00:00
oidc_user.go Support secret for docker CLI 2019-04-10 19:38:11 +08:00
pro_meta.go feat(vuln-severity): map negligible to none to match CVSS v3 ratings (#9885) 2019-11-18 14:36:51 +08:00
project_blob.go refactor(quota,middleware): implement size quota by quota interceptor 2019-08-08 23:55:54 +00:00
project.go Add role list in project response 2019-11-11 14:03:50 +08:00
quota_usage.go Manager for quota 2019-07-09 13:59:48 +08:00
quota.go feat(quota,api): APIs for quotas 2019-07-25 13:40:26 +08:00
repo.go add immutable match in the repository/tag delete api 2019-10-21 15:53:24 +08:00
retag_test.go Improve code styles and fix after Harbor refactoring 2018-10-09 10:49:03 +08:00
retag.go Validate repo and tag names in retag 2018-12-24 16:49:39 +08:00
role.go Replacing copyright notices with "Copyright Project Harbor Authors". 2018-09-19 16:59:36 +00:00
token.go Fix #8319, got error when replicating image with Azure container registry 2019-07-30 12:58:22 +08:00
uaa.go Replacing copyright notices with "Copyright Project Harbor Authors". 2018-09-19 16:59:36 +00:00
user.go Fix admin permission not revoked when removed from LDAP admin group 2019-12-20 13:12:22 +08:00
usergroup.go Fix review comments on PR9749 2019-11-12 13:05:11 +08:00
version.go Replacing copyright notices with "Copyright Project Harbor Authors". 2018-09-19 16:59:36 +00:00