-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Privacy policy update alert #18852
Privacy policy update alert #18852
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.
@filiptronicek lgtm, thank you! Some minor feedback: perhaps we could say "We've updated our Privacy Policy. You can review it here"?"
1aea1f7
to
3b6dfcc
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.
just a few non-blocking comments as others have already approved.
@@ -72,6 +72,10 @@ export class UserService { | |||
// blocked = if user already blocked OR is not allowed to pass | |||
newUser.blocked = newUser.blocked || !canPass; | |||
} | |||
if (newUser.additionalData) { | |||
// When a user is created, it does not have `additionalData.profile` set, so it's ok to rewrite it here. | |||
// newUser.additionalData.profile = { acceptedPrivacyPolicyDate: new Date().toISOString() }; |
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.
Did you mean to uncomment this or should we remove? I wonder if we need to present the privacy policy somewhere during signup if we don't already so that we could set it automatically like this?
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.
Meant to uncomment 🙈. @selfcontained we have this awesome little catch on our login pages which I believe allows us to do just that.
Description
Adds an alert about the privacy policy being updated. It also adds a mechanism for considering what was the last privacy policy the user has accepted and only show the alert if they haven't.
Summary generated by Copilot
🤖 Generated by Copilot at a77118a
This pull request adds a new feature to the dashboard that shows a banner alert to users who have not accepted the latest privacy policy. It also adds a new property to the user data to store the acceptance date, and updates the user creation and update logic accordingly. The changes affect the files
AppRoutes.tsx
,AppNotifications.tsx
,utils.ts
,protocol.ts
, anduser-service.ts
.Related Issue(s)
Fixes EXP-15
How to test
Documentation
Preview status
Gitpod was successfully deployed to your preview environment.
Build Options
Build
Run the build with werft instead of GHA
Run Leeway with
--dont-test
Publish
Installer
Add desired feature flags to the end of the line above, space separated
Preview Environment / Integration Tests
If enabled this will build
install/preview
If enabled this will create the environment on GCE infra
Valid options are
all
,workspace
,webapp
,ide
,jetbrains
,vscode
,ssh
. If enabled,with-preview
andwith-large-vm
will be enabled./hold