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

restore marking disabled inherited roles in member role editing

Ivan Kuchina14f8b2f7a96
diff --git a/app/components/members/role_form_component.html.erb b/app/components/members/role_form_component.html.erb
index f07b488ed48..5fb1f63d0da 100644
--- a/app/components/members/role_form_component.html.erb
+++ b/app/components/members/role_form_component.html.erb
@@ -40,6 +40,7 @@ See COPYRIGHT and LICENSE files for more details.
role.id,
member.roles.include?(role),
role.name,
+ disabled: role_disabled?(role),
no_label: true
%>
<%= role %>