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
Add comment to the OpenProject::FeatureDecisions
Dombi Attilaa641bcddddd5
diff --git a/lib/open_project/feature_decisions.rb b/lib/open_project/feature_decisions.rbindex 1cf3082126b..4b40cb3b393 100644--- a/lib/open_project/feature_decisions.rb+++ b/lib/open_project/feature_decisions.rb@@ -28,6 +28,18 @@module OpenProjectmodule FeatureDecisions+ ##+ # This module is the container for the temporary or permanent feature flags.+ # Having a flag method instead of a plain Setting, enables+ # incorporating more logic into flags, such as release date restrictions.+ #+ # For example:+ #+ # def self.storages_module_active?+ # release_date = Date.new(2022,01,01)+ # Setting.feature_storages_module_active || Date.today > release_date+ # end+def self.storages_module_active?Setting.feature_storages_module_activeend