Skip to content

Commit

Permalink
Merge pull request #51303 from Expensify/jack-allowMoreSupportal
Browse files Browse the repository at this point in the history
[No QA] Allow support authToken to call more commands
  • Loading branch information
Beamanator authored Oct 23, 2024
2 parents e2f8b96 + f8b6de7 commit 0d26714
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion src/libs/Network/NetworkStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,16 +104,26 @@ function isSupportRequest(command: string): boolean {
SIDE_EFFECT_REQUEST_COMMANDS.RECONNECT_APP,
SIDE_EFFECT_REQUEST_COMMANDS.OPEN_REPORT,
READ_COMMANDS.OPEN_CARD_DETAILS_PAGE,
READ_COMMANDS.GET_POLICY_CATEGORIES,
READ_COMMANDS.OPEN_POLICY_CATEGORIES_PAGE,
READ_COMMANDS.OPEN_POLICY_COMPANY_CARDS_PAGE,
READ_COMMANDS.OPEN_POLICY_COMPANY_CARDS_FEED,
READ_COMMANDS.OPEN_POLICY_DISTANCE_RATES_PAGE,
READ_COMMANDS.OPEN_POLICY_ACCOUNTING_PAGE,
READ_COMMANDS.OPEN_POLICY_EXPENSIFY_CARDS_PAGE,
READ_COMMANDS.OPEN_POLICY_MORE_FEATURES_PAGE,
READ_COMMANDS.OPEN_POLICY_PROFILE_PAGE,
READ_COMMANDS.OPEN_POLICY_REPORT_FIELDS_PAGE,
READ_COMMANDS.OPEN_POLICY_INITIAL_PAGE,
READ_COMMANDS.OPEN_INITIAL_SETTINGS_PAGE,
READ_COMMANDS.OPEN_POLICY_TAGS_PAGE,
READ_COMMANDS.OPEN_POLICY_WORKFLOWS_PAGE,
READ_COMMANDS.OPEN_SUBSCRIPTION_PAGE,
READ_COMMANDS.OPEN_POLICY_TAXES_PAGE,
READ_COMMANDS.OPEN_POLICY_WORKFLOWS_PAGE,
READ_COMMANDS.OPEN_WORKSPACE_VIEW,
READ_COMMANDS.OPEN_PAYMENTS_PAGE,
READ_COMMANDS.OPEN_WORKSPACE_MEMBERS_PAGE,
READ_COMMANDS.SEARCH_FOR_REPORTS,
].some((cmd) => cmd === command);
}

Expand Down

0 comments on commit 0d26714

Please sign in to comment.