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

Do not show link to `Users` list, when you cannot access it

Klaus Zandersadccd2164f78
diff --git a/app/controllers/users_controller.rb b/app/controllers/users_controller.rb
index 3cc6597e7e4..64138919770 100644
--- a/app/controllers/users_controller.rb
+++ b/app/controllers/users_controller.rb
@@ -308,7 +308,7 @@ class UsersController < ApplicationController
end
def show_local_breadcrumb
- true
+ can_manage_or_create_users?
end
def build_user_update_params