diff --git a/rhodecode/templates/admin/repos/repo_edit_caches.mako b/rhodecode/templates/admin/repos/repo_edit_caches.mako --- a/rhodecode/templates/admin/repos/repo_edit_caches.mako +++ b/rhodecode/templates/admin/repos/repo_edit_caches.mako @@ -67,8 +67,11 @@
 region: ${c.region.name}
 backend: ${c.region.actual_backend.__class__}
+% if c.rhodecode_user.is_admin:
 store: ${c.region.actual_backend.get_store()}
-
+% else:
+store: ${c.region.actual_backend.get_store().__class__}
+% endif
 
 % if c.repo_keys:
 ${len(c.repo_keys)} ${_('Show all')}
@@ -118,7 +121,11 @@ store: ${c.region.actual_backend.get_sto
         
-                
+                % if c.rhodecode_user.is_admin:
+                    
+                % else:
+                    
+                % endif
             
${_('Cached diff name')}:${c.rhodecode_db_repo.cached_diffs_relative_dir}${c.rhodecode_db_repo.cached_diffs_dir}${c.rhodecode_db_repo.cached_diffs_relative_dir}
${_('Cached diff files')}: