From ec076d009b791515ef5488762b4a3454601bc8d7 Mon Sep 17 00:00:00 2001 From: Tameem Bin Haider Date: Fri, 3 Jan 2025 13:11:03 +0600 Subject: [PATCH] fix: add missing actionable scopes --- packages/gateway/src/features/registration/root-resolvers.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/gateway/src/features/registration/root-resolvers.ts b/packages/gateway/src/features/registration/root-resolvers.ts index 6090eca8e3..bf9690e3e7 100644 --- a/packages/gateway/src/features/registration/root-resolvers.ts +++ b/packages/gateway/src/features/registration/root-resolvers.ts @@ -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,