-
Notifications
You must be signed in to change notification settings - Fork 382
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 check that user can view feature before sending change notification email #4676
Conversation
This caused the notification generation task to fail with an exception.
But, also, the triggering user is the person who made the edit to the feature. That user should always have permission to view the feature. I think what you want to check is the permission for the person being notified. That would need to be done in a different function: |
Changes on features that become confidential should not be sent to users that cannot see them