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

Merge branch 'release/11.2' into dev

ulferts21df5e46b488
diff --cc app/models/principal.rb
index bfe3ec4947d,1fd121dbbf7..127c62775df
--- a/app/models/principal.rb
+++ b/app/models/principal.rb
@@@ -64,11 -65,7 +65,8 @@@ class Principal < ApplicationRecor
:possible_member,
:user,
:ordered_by_name,
- :visible
-
- scope :not_locked, -> {
- not_builtin.where.not(status: statuses[:locked])
- }
++ :visible,
+ :status
scope :in_project, ->(project) {
where(id: Member.of(project).select(:user_id))