Skip to content

Commit 476e14f

Browse files
authored
Revert "Add check that user can view feature before sending change notificati…" (#4687)
This reverts commit acab78e.
1 parent d4d6716 commit 476e14f

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

internals/notifier.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -454,10 +454,7 @@ def process_post_data(self, **kwargs):
454454
# actually changes to it.
455455
# Load feature directly from NDB so as to never get a stale cached copy.
456456
fe = FeatureEntry.get_by_id(feature['id'])
457-
user = users.User(email=triggering_user_email)
458-
can_view_feature = permissions.can_view_feature(user, fe)
459-
460-
if fe and (is_update and len(changes) or not is_update) and can_view_feature:
457+
if fe and (is_update and len(changes) or not is_update):
461458
email_tasks = make_feature_changes_email(
462459
fe, is_update=is_update, changes=changes,
463460
triggering_user_email=triggering_user_email)

0 commit comments

Comments
 (0)