mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-26 02:28:06 +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",
|
||||
"checked": true
|
||||
},
|
||||
{
|
||||
"resource": "repository",
|
||||
"action": "delete",
|
||||
"checked": true
|
||||
},
|
||||
{
|
||||
"resource": "artifact",
|
||||
"action": "delete",
|
||||
|
@ -722,6 +722,7 @@ export class ArtifactListTabComponent implements OnInit, OnDestroy {
|
||||
retag() {
|
||||
if (this.selectedRow && this.selectedRow.length && !this.depth) {
|
||||
this.retagDialogOpened = true;
|
||||
this.imageNameInput.imageNameForm.reset();
|
||||
this.retagSrcImage = this.repoName + ":" + this.selectedRow[0].digest;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user