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
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
Clarify
Klaus Zandersae61a4491c3f
diff --git a/lib/api/v3/memberships/memberships_api.rb b/lib/api/v3/memberships/memberships_api.rbindex 1bb9fdeeef6..497b6c57144 100644--- a/lib/api/v3/memberships/memberships_api.rb+++ b/lib/api/v3/memberships/memberships_api.rb@@ -35,8 +35,7 @@ module APIresources :memberships doget &::API::V3::Utilities::Endpoints::Index.new(model: Member,- # TODO: For now we exclude entity specific memberships in the API until we have updated the- # frontend and representers to show those properly+ # excluding entity memberships. Those can be requested via the Shares APIscope: -> { Member.where(entity: nil).includes(MembershipRepresenter.to_eager_load) },api_name: 'Membership').mountdiff --git a/lib/api/v3/shares/shares_api.rb b/lib/api/v3/shares/shares_api.rbindex f46784e286f..3481408d719 100644--- a/lib/api/v3/shares/shares_api.rb+++ b/lib/api/v3/shares/shares_api.rb@@ -38,7 +38,7 @@ module APIget &::API::V3::Utilities::Endpoints::Index.new(model: Member,scope: -> { Member.where.not(entity: nil).includes(ShareRepresenter.to_eager_load) },- api_name: 'Membership')+ api_name: 'Share').mountendend