Skip to content

Commit

Permalink
added wapc panel (thewca#10324)
Browse files Browse the repository at this point in the history
  • Loading branch information
dunkOnIT authored Nov 29, 2024
1 parent 78bcde9 commit 9a40091
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions app/models/user.rb
Original file line number Diff line number Diff line change
Expand Up @@ -661,6 +661,12 @@ def self.panel_list
panel_pages[:bannedCompetitors],
],
},
wapc: {
name: 'WAC panel',
pages: [
panel_pages[:bannedCompetitors],
],
},
wfc: {
name: 'WFC panel',
pages: [],
Expand Down Expand Up @@ -1406,6 +1412,8 @@ def can_access_senior_delegate_panel?
active_roles.any? { |role| role.is_lead? && (role.group.teams_committees? || role.group.councils?) }
when :senior_delegate
senior_delegate?
when :wapc
appeals_committee?
when :wic
wic_team?
when :weat
Expand Down

0 comments on commit 9a40091

Please sign in to comment.