app/views/katello/api/v2/organizations/show.json.rabl in katello-3.15.3.1 vs app/views/katello/api/v2/organizations/show.json.rabl in katello-3.16.0.rc1
- old
+ new
@@ -1,15 +1,20 @@
object @organization
extends "api/v2/taxonomies/show"
-attributes :task_id, :label, :owner_details, :redhat_repository_url
+attributes :task_id, :label, :redhat_repository_url
if ::SETTINGS[:katello][:use_cp]
attributes :system_purposes, :system_purposes
attributes :service_levels, :service_level
+
node :simple_content_access do |org|
org.simple_content_access?
+ end
+
+ node :owner_details do |org|
+ partial('katello/api/v2/organizations/owner_details', object: OpenStruct.new(org.owner_details))
end
end
node :default_content_view_id do |org|
org.default_content_view.id