Skip to content
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

Add option to enable/disable sending of email addresses to Sentry #14

Merged
merged 2 commits into from
Jun 23, 2021

Conversation

davwheat
Copy link
Member

This PR adds an option to the admin page to enable/disable sending of email addresses to Sentry.

Previously, by default, this extension would automatically send email addresses to Sentry as part of a user's information, along with IP, username, and user ID. While all of these are also examples of PII (personally identifiable information), the reasoning behind these being sent to Sentry is justified.

Emails can always be looked up in the Flarum database by user ID or username, so the sending of email addresses is not necessary. Nevertheless, the option is still there for people to select.

Sending of email addresses will be disabled by default.

@davwheat davwheat self-assigned this Feb 17, 2021
@dsevillamartin
Copy link
Member

Why does indentation change? Did your editor change it?

@davwheat
Copy link
Member Author

I formatted it with Prettier :P

@dsevillamartin
Copy link
Member

I assume this all works fine locally?

Previously I'd have said to use var instead of let, but browsers have matured now so anything that supports Flarum supports let 😂

@davwheat
Copy link
Member Author

davwheat commented Mar 5, 2021

Works fine now that I fixed my accidental admin settings mix-up! 🙈

Option enabled

image

Option disabled

image

@davwheat davwheat requested a review from Ralkage April 21, 2021 23:35
@imorland
Copy link
Member

@davwheat care to rebase this please? :)

@davwheat
Copy link
Member Author

Will do when I get to college :)

@davwheat davwheat force-pushed the davwheat/dont-send-pii-setting branch from 34b6f2c to 0148e35 Compare June 23, 2021 19:43
@davwheat
Copy link
Member Author

Don't worry, it didn't take me 2 days to get to college ;)

@imorland
Copy link
Member

And there was me thinking you'd gotten lost somewhere near the student bar 🍺

@imorland imorland merged commit ec3863f into master Jun 23, 2021
@imorland imorland deleted the davwheat/dont-send-pii-setting branch June 23, 2021 19:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants