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

Freeze string literals in app/policies

Alexander Brandon Colescdcba3423009
diff --git a/app/policies/base_policy.rb b/app/policies/base_policy.rb
index e8446476f88..90594f2924b 100644
--- a/app/policies/base_policy.rb
+++ b/app/policies/base_policy.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
#-- copyright
# OpenProject is an open source project management software.
# Copyright (C) the OpenProject GmbH
diff --git a/app/policies/query_policy.rb b/app/policies/query_policy.rb
index 03f24e5202f..e193e9e886f 100644
--- a/app/policies/query_policy.rb
+++ b/app/policies/query_policy.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
#-- copyright
# OpenProject is an open source project management software.
# Copyright (C) the OpenProject GmbH
diff --git a/app/policies/redirect_policy.rb b/app/policies/redirect_policy.rb
index 95fcb5f725d..d0dd56410fc 100644
--- a/app/policies/redirect_policy.rb
+++ b/app/policies/redirect_policy.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
#-- copyright
# OpenProject is an open source project management software.
# Copyright (C) the OpenProject GmbH
diff --git a/app/policies/scm/authorization_policy.rb b/app/policies/scm/authorization_policy.rb
index 5cf8140405e..132aa7cddff 100644
--- a/app/policies/scm/authorization_policy.rb
+++ b/app/policies/scm/authorization_policy.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
#-- copyright
# OpenProject is an open source project management software.
# Copyright (C) the OpenProject GmbH
diff --git a/app/policies/scm/git_authorization_policy.rb b/app/policies/scm/git_authorization_policy.rb
index c38ca9fc1eb..422972069d9 100644
--- a/app/policies/scm/git_authorization_policy.rb
+++ b/app/policies/scm/git_authorization_policy.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
#-- copyright
# OpenProject is an open source project management software.
# Copyright (C) the OpenProject GmbH
diff --git a/app/policies/scm/subversion_authorization_policy.rb b/app/policies/scm/subversion_authorization_policy.rb
index 65e4e35a537..c26ff237406 100644
--- a/app/policies/scm/subversion_authorization_policy.rb
+++ b/app/policies/scm/subversion_authorization_policy.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
#-- copyright
# OpenProject is an open source project management software.
# Copyright (C) the OpenProject GmbH