app/models/katello/authorization/subscription.rb in katello-3.15.0.rc1.1 vs app/models/katello/authorization/subscription.rb in katello-3.15.0.rc1.2

- old
+ new

@@ -8,10 +8,12 @@ authorized?(:view_subscriptions) end module ClassMethods def readable - authorized(:view_subscriptions) + return all if User.current.admin? + + authorized(:view_subscriptions).where(organization_id: User.current.organization_ids) end end end end