app/views/katello/api/v2/content_views/permissions.rabl in katello-4.6.2.1 vs app/views/katello/api/v2/content_views/permissions.rabl in katello-4.7.0.rc1
- old
+ new
@@ -2,7 +2,8 @@
if params.key?(:include_permissions)
user = User.current # current_user is not available here
node do
node(:can_create) { user.can?("create_content_views") }
+ node(:can_view) { user.can?("view_content_views") }
end
end