diff --git a/app/models/user.rb b/app/models/user.rb index 98f2abeb6c..c6b6c01e83 100644 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -1344,7 +1344,7 @@ def can_access_board_panel? end def can_access_leader_panel? - admin? || leader_of_any_official_team? + admin? || active_roles.any? { |role| UserRole.is_lead?(role) } end def can_access_senior_delegate_panel?