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

Fix typo in SharingStrategies::BaseStrategy

Aaron Contreras1831b7679b11
diff --git a/app/models/sharing_strategies/base_strategy.rb b/app/models/sharing_strategies/base_strategy.rb
index 9976d93c325..e28dbf2e55a 100644
--- a/app/models/sharing_strategies/base_strategy.rb
+++ b/app/models/sharing_strategies/base_strategy.rb
@@ -40,7 +40,7 @@ module SharingStrategies
raise NotImplementedError, "Override in a subclass and return an array of roles that should be displayed"
end
- def vieable?
+ def viewable?
raise NotImplementedError,
"Override in a subclass and return true if the current user can view who the entity is shared with"
end