Skip to content

Commit

Permalink
Leader Panel access-issue fix for WAC Leader (#9087)
Browse files Browse the repository at this point in the history
  • Loading branch information
danieljames-dj authored Mar 18, 2024
1 parent 73cace8 commit 8ec167f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/user.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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?
Expand Down

0 comments on commit 8ec167f

Please sign in to comment.