mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-23 02:35:17 +01:00
Add delete repo permission for robot account (#16297)
Signed-off-by: AllForNothing <sshijun@vmware.com>
This commit is contained in:
parent
8554b7d7c5
commit
241391984b
@ -57,6 +57,11 @@ export const INITIAL_ACCESSES: FrontAccess[] = [
|
|||||||
"action": "pull",
|
"action": "pull",
|
||||||
"checked": true
|
"checked": true
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"resource": "repository",
|
||||||
|
"action": "delete",
|
||||||
|
"checked": true
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"resource": "artifact",
|
"resource": "artifact",
|
||||||
"action": "delete",
|
"action": "delete",
|
||||||
|
@ -722,6 +722,7 @@ export class ArtifactListTabComponent implements OnInit, OnDestroy {
|
|||||||
retag() {
|
retag() {
|
||||||
if (this.selectedRow && this.selectedRow.length && !this.depth) {
|
if (this.selectedRow && this.selectedRow.length && !this.depth) {
|
||||||
this.retagDialogOpened = true;
|
this.retagDialogOpened = true;
|
||||||
|
this.imageNameInput.imageNameForm.reset();
|
||||||
this.retagSrcImage = this.repoName + ":" + this.selectedRow[0].digest;
|
this.retagSrcImage = this.repoName + ":" + this.selectedRow[0].digest;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user