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
Introduce possibility to set a custom permission header needed for the WorkPackage and Gantt module which share the same permission set.
Henriette Darge478975ed5582
diff --git a/app/views/roles/_permissions.html.erb b/app/views/roles/_permissions.html.erbindex 7c962ec21a6..549c85e0c8c 100644--- a/app/views/roles/_permissions.html.erb+++ b/app/views/roles/_permissions.html.erb@@ -35,7 +35,7 @@ See COPYRIGHT and LICENSE files for more details.<% if mod.blank? %><%= show_global_role ? t(:label_global) : Project.model_name.human %><% else %>- <%= l_or_humanize(mod, prefix: 'project_module_') %>+ <%= I18n.t("permission_header_for_project_module_#{mod}", default: l_or_humanize(mod, prefix: 'project_module_')) %><% end %></legend><div class="form--toolbar">diff --git a/config/locales/en.yml b/config/locales/en.ymlindex 413d4ec4502..7622d7e5a6e 100644--- a/config/locales/en.yml+++ b/config/locales/en.yml@@ -2642,6 +2642,7 @@ en:project_module_news: "News"project_module_repository: "Repository"project_module_wiki: "Wiki"+ permission_header_for_project_module_work_package_tracking: "Work packages and Gantt"query:attribute_and_direction: "%{attribute} (%{direction})"