The subscriptions block created by the notifications_ui module does not respect permissions. This means that the block a user who does not have proper permissions to create subscriptions will be allowed to see the block giving them access to "Subscribe to" options. Attempting to subscribe fails because the permission is respected by other aspects of the subscription module. A simple patch is attached. The work around is to change the roll settings for the block visibility in the block settings.

CommentFileSizeAuthor
notifications_ui_block_permissions.patch775 byteslliss

Comments

webflo’s picture

Status: Active » Fixed

Committed with modifications. Commit c7a915d on 7.x-1.x. Thanks!

sharplesa’s picture

webflo,

Looks like this commit needs to go on the dev branch, too. Right?

webflo’s picture

Uhm? There is no "dev" branch. Do you mean my development sandbox? The dev release is rolled by drupal.org packaging scripts twice a day.

sharplesa’s picture

Sorry, that's my ignorance talking. I just wanted to make sure that what you pushed into production for alpha1 was also in git and available when you generate the next -dev release. So, I guess that means that the changes you made were made in the remotes/origin/7.x-1.x branch, right?

Status: Fixed » Closed (fixed)

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