From db7e7f071ac2c188d44352bcab993a3dc55a9d26 Mon Sep 17 00:00:00 2001 From: Yordan Alexandrov Date: Thu, 10 Dec 2020 16:46:52 +0200 Subject: [PATCH] GDB-5260 Add additional check for read/write access in repository popover + Added an additional condition for repository access in repository popover + If repository is not writable the access will be set to "Read-only" --- src/js/angular/templates/repositorySize.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/angular/templates/repositorySize.html b/src/js/angular/templates/repositorySize.html index f2dd09e26..8126b3590 100644 --- a/src/js/angular/templates/repositorySize.html +++ b/src/js/angular/templates/repositorySize.html @@ -8,7 +8,7 @@
- {{(canWriteRepoInActiveLocation(popoverRepo.id) && popoverRepo.type !== 'ontop') ? 'Read/write' : 'Read-only'}} + {{(popoverRepo.writable && canWriteRepoInActiveLocation(popoverRepo.id) && popoverRepo.type !== 'ontop') ? 'Read/write' : 'Read-only'}}