Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Temporarily remove entity resource until we have figured out polymorphism

Klaus Zandersb98cfb8adc04
diff --git a/lib/api/v3/shares/share_representer.rb b/lib/api/v3/shares/share_representer.rb
index 2db7091dff9..4bc181623fb 100644
--- a/lib/api/v3/shares/share_representer.rb
+++ b/lib/api/v3/shares/share_representer.rb
@@ -39,7 +39,7 @@ module API
associated_resource :project
- associated_resource :entity # TODO: Check if neeeded
+ # associated_resource :entity # TODO: Check if neeeded, and check how we can use polymorphism here
associated_resource :principal,
getter: ::API::V3::Principals::PrincipalRepresenterFactory