mirror of
https://github.com/scm-manager/scm-manager.git
synced 2026-01-19 22:12:10 +01:00
fix empty permissions bug
This commit is contained in:
@@ -47,7 +47,7 @@ Ext.ns('Sonia.repository');
|
||||
// functions
|
||||
|
||||
Sonia.repository.isOwner = function(repository){
|
||||
return repository.permissions != null;
|
||||
return admin || repository.permissions != null;
|
||||
}
|
||||
|
||||
Sonia.repository.setEditPanel = function(panel){
|
||||
|
||||
Reference in New Issue
Block a user