From: Imre Farkas <ifarkas(a)redhat.com>
https://bugzilla.redhat.com/show_bug.cgi?id=788048
Resending it based on Scott's suggestion.
---
src/app/views/pools/_images.html.haml | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/app/views/pools/_images.html.haml
b/src/app/views/pools/_images.html.haml
index c580d96..f5401fa 100644
--- a/src/app/views/pools/_images.html.haml
+++ b/src/app/views/pools/_images.html.haml
@@ -5,7 +5,7 @@
=image_tag 'flash_error_icon.png', :alt => 'Errors'
=flash[:error]
-else
- - @pool.catalogs.each do |catalog|
+ - @pool.catalogs.list_for_user(current_user, Privilege::VIEW).each do |catalog|
%div.catalog_deployments_and_images
%h1
= catalog.name
--
1.7.6.5