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

BaseStrategy to show what can be implemented

Klaus Zandersa573110dafe2
diff --git a/app/models/sharing_strategies/base_strategy.rb b/app/models/sharing_strategies/base_strategy.rb
index dcceb0aacac..08218942747 100644
--- a/app/models/sharing_strategies/base_strategy.rb
+++ b/app/models/sharing_strategies/base_strategy.rb
@@ -28,7 +28,7 @@
module SharingStrategies
class BaseStrategy
- attr_reader :entity, user
+ attr_reader :entity, :user
def initialize(entity, user: User.current)
@entity = entity