-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PXP-8448 - Register users for download #912
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Besides each individual comments, there are some eslint errors exist
You should run npm run eslint
and commit in the changes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Much better, but I found 1 problem when testing on qa-midrc
When I get redirected to the Login page, after login I was presented with the Fence registration page. But if I click Maybe Later
instead of filling out the form, portal still redirects me back. And I can begin to download even if I didn't actually finishes the registration
Maybe this is a bug from your Fence branch? Maybe you should check from Portal whether a user has finished registrastion from Fence? Maybe you should just remove the Maybe Later
button from Fence so they will have no chance not registering them? 🤔
f5df563
to
1b4a7db
Compare
cfb044f
to
44ce714
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
* added new config variable to turn on/off registered users functionality for MIDRC * updated button logic for download * updated config variable name * removed unused proptypes * updated config variable name and included config i portal_config.md * updated enlist errors * updated logic to redirect only for download buttons * added updates based on comments * added updates based on comments * Updated location prop * updated the config variable name * updated markdown file * removed commented code and updated function blocks Co-authored-by: Ramu Nerella <ramunerella@Ramus-MacBook-Pro.local>
Description of changes
When the users are not logged in and try to download data they will be redirected to the login page. This change will come into effect if the 'loginForDownload' variable is set to 'true' in gitops.json.
New Features
Breaking Changes
Bug Fixes
Improvements
Dependency updates
Deployment changes
loginForDownload
flag set to true in gitops