I'm using subscriptions module for notifying registered users about comments.

I have installed comment_notify, and in the persmissions have enabled only "subscribe to comments" for anonymous. "Administrate comment_notify" is disabled for all.

However, on each registered user's account editor form I see "Comment follow-up notification settings" thing. I think, it shall not be there if my registered users are not allowed to use the module.

#1 305259_hide_form_if_no_access.patch841 bytesgreggles
Members fund testing for the Drupal project. Drupal Association Learn more


greggles’s picture

Title: How to leave comment_notify only for anonymous? » only show "comment follow-up notification settings" if user's have the permission to use comment notify
Status: Active » Needs review
841 bytes

Great point...can you test this patch?

slavikt’s picture

Status: Needs review » Reviewed & tested by the community

It works.
Thank you.

greggles’s picture

Assigned: Unassigned » greggles
Status: Reviewed & tested by the community » Fixed

Great, thanks for the test, slavikt!

This is now committed to 5.x-2.x and 6.x

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.