Skip to content

Commit

Permalink
fix: add missing actionable scopes
Browse files Browse the repository at this point in the history
  • Loading branch information
Zangetsu101 committed Jan 3, 2025
1 parent 3f95c5b commit ec076d0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/gateway/src/features/registration/root-resolvers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,11 @@ async function getAnonymousToken() {
return token
}

// This should take into account the status
// of the record like so in useNavigation
const ACTIONABLE_SCOPES = [
SCOPES.RECORD_SUBMIT_FOR_REVIEW,
SCOPES.RECORD_SUBMIT_INCOMPLETE,
SCOPES.RECORD_REGISTER,
SCOPES.RECORD_SUBMIT_FOR_APPROVAL,
SCOPES.RECORD_DECLARE_BIRTH,
Expand Down

0 comments on commit ec076d0

Please sign in to comment.