redirect ridp verified consumers on pre ridp pages#6124
Open
redirect ridp verified consumers on pre ridp pages#6124
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR Checklist
Please check if your PR fulfills the following requirements:
lethelpers andbeforeblocks..html_safe.PR Type
What kind of change does this PR introduce?:
What is the ticket # detailing the issue?
Ticket: https://app.clickup.com/t/868j0am0q
A brief description of the changes:
Current behavior: consumers who are RIDP verified have access to pages in the pre-RIDP flow (edit Personal Information and Contact Preferences pages). Users with broker or assister roles also technically have access to the edit Personal Information page.
New behavior: consumers who are RIDP verified are redirected to the family home page if they attempt to visit the pre-RIDP flow pages (edit Personal Information and Contact Preferences pages). Users with broker or assister roles are not authorized to visit the edit Personal Information page for consumers (aside from themselves).
Feature Flag
For all new feature development, a feature flag is required to control the exposure of the feature to our end users. A feature flag needs a corresponding environment variable to initialize the state of the flag. Please share the name of the environment variable below that would enable/disable the feature and indicate which client(s) it applies to.
Variable name:
Additional Context
Motivation for these changes: after QHP (CR-120+) functionality was introduced, the expectation is that edit Personal Information and Contact Preferences pages are only valid to access when user has not yet completed RIDP. Brokers and assisters are not available to consumers before RIDP, so they should not have access to these pages as well (unless they are creating their own consumer account).