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

Register current menu items in roles controller

Aaron Contreras4945518aca8b
diff --git a/app/controllers/roles_controller.rb b/app/controllers/roles_controller.rb
index 331b8e3c212..4c7faeac916 100644
--- a/app/controllers/roles_controller.rb
+++ b/app/controllers/roles_controller.rb
@@ -33,6 +33,9 @@ class RolesController < ApplicationController
before_action :require_admin, except: [:autocomplete_for_role]
+ menu_item :roles, except: :report
+ menu_item :permissions_report, only: :report
+
def index
@roles = roles_scope
.page(page_param)