mirror of
https://github.com/goharbor/harbor
synced 2025-04-13 17:30:57 +00:00
Add a new robot permission and sort permissions (#16487)
Signed-off-by: AllForNothing <sshijun@vmware.com>
This commit is contained in:
parent
7d9a1172ab
commit
d05eb5ef4a
|
@ -49,7 +49,7 @@ export const NAMESPACE_ALL_PROJECTS: string = '*';
|
|||
export const INITIAL_ACCESSES: FrontAccess[] = [
|
||||
{
|
||||
"resource": "repository",
|
||||
"action": "push",
|
||||
"action": "list",
|
||||
"checked": true
|
||||
},
|
||||
{
|
||||
|
@ -57,16 +57,66 @@ export const INITIAL_ACCESSES: FrontAccess[] = [
|
|||
"action": "pull",
|
||||
"checked": true
|
||||
},
|
||||
{
|
||||
"resource": "repository",
|
||||
"action": "push",
|
||||
"checked": true
|
||||
},
|
||||
{
|
||||
"resource": "repository",
|
||||
"action": "delete",
|
||||
"checked": true
|
||||
},
|
||||
{
|
||||
"resource": "artifact",
|
||||
"action": "read",
|
||||
"checked": true
|
||||
},
|
||||
{
|
||||
"resource": "artifact",
|
||||
"action": "list",
|
||||
"checked": true
|
||||
},
|
||||
{
|
||||
"resource": "artifact",
|
||||
"action": "delete",
|
||||
"checked": true
|
||||
},
|
||||
{
|
||||
"resource": "artifact-label",
|
||||
"action": "create",
|
||||
"checked": true
|
||||
},
|
||||
{
|
||||
"resource": "artifact-label",
|
||||
"action": "delete",
|
||||
"checked": true
|
||||
},
|
||||
{
|
||||
"resource": "tag",
|
||||
"action": "create",
|
||||
"checked": true
|
||||
},
|
||||
{
|
||||
"resource": "tag",
|
||||
"action": "delete",
|
||||
"checked": true
|
||||
},
|
||||
{
|
||||
"resource": "tag",
|
||||
"action": "list",
|
||||
"checked": true
|
||||
},
|
||||
{
|
||||
"resource": "scan",
|
||||
"action": "create",
|
||||
"checked": true
|
||||
},
|
||||
{
|
||||
"resource": "scan",
|
||||
"action": "stop",
|
||||
"checked": true
|
||||
},
|
||||
{
|
||||
"resource": "helm-chart",
|
||||
"action": "read",
|
||||
|
@ -82,51 +132,6 @@ export const INITIAL_ACCESSES: FrontAccess[] = [
|
|||
"action": "delete",
|
||||
"checked": true
|
||||
},
|
||||
{
|
||||
"resource": "tag",
|
||||
"action": "list",
|
||||
"checked": true
|
||||
},
|
||||
{
|
||||
"resource": "tag",
|
||||
"action": "create",
|
||||
"checked": true
|
||||
},
|
||||
{
|
||||
"resource": "tag",
|
||||
"action": "delete",
|
||||
"checked": true
|
||||
},
|
||||
{
|
||||
"resource": "artifact-label",
|
||||
"action": "create",
|
||||
"checked": true
|
||||
},
|
||||
{
|
||||
"resource": "artifact-label",
|
||||
"action": "delete",
|
||||
"checked": true
|
||||
},
|
||||
{
|
||||
"resource": "scan",
|
||||
"action": "create",
|
||||
"checked": true
|
||||
},
|
||||
{
|
||||
"resource": "scan",
|
||||
"action": "stop",
|
||||
"checked": true
|
||||
},
|
||||
{
|
||||
"resource": "artifact",
|
||||
"action": "list",
|
||||
"checked": true
|
||||
},
|
||||
{
|
||||
"resource": "repository",
|
||||
"action": "list",
|
||||
"checked": true
|
||||
},
|
||||
{
|
||||
"resource": "helm-chart-version-label",
|
||||
"action": "create",
|
||||
|
|
Loading…
Reference in New Issue
Block a user