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 Rubocop

Klaus Zanders301c5b0a82cd
diff --git a/app/models/role.rb b/app/models/role.rb
index 8dc6ba329a6..3376219b895 100644
--- a/app/models/role.rb
+++ b/app/models/role.rb
@@ -40,7 +40,7 @@ class Role < ApplicationRecord
HIDDEN_ROLE_TYPES = [
"WorkPackageRole",
"ProjectQueryRole"
- ]
+ ].freeze
scope :builtin, ->(*args) {
compare = "not" if args.first == true