Hi,

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.

Files: 
CommentFileSizeAuthor
#1 305259_hide_form_if_no_access.patch841 bytesgreggles

Comments

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
StatusFileSize
new841 bytes

Great point...can you test this patch?

Status:Needs review» Reviewed & tested by the community

It works.
Thank you.

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

Status:Fixed» Closed (fixed)

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