1. Enable Content Notifications, but not the User Tabs submodule
  2. Go to a node, and subscribe to the content type using the link in the "Subscriptions" block
  3. Now click on the Unsubscribe link in the same block, and you will land on a 403 Access Denied page

Enabling the User Tabs module corrects the problem. This is for authenticated users with appropriate perms.

CommentFileSizeAuthor
#2 1180754-unsubscribe-fix-1.patch872 bytesacbramley

Comments

danepowell’s picture

Title: "Unsubscribe from" link access denied if User Tab submodule disabled » "Unsubscribe from" link access denied

Whoops- my mistake. This has nothing to do with the User Account Tabs module- authenticated users get the 403 page no matter what. Administrators however do not get denied.

acbramley’s picture

StatusFileSize
new872 bytes

This is a problem in -dev aswell. The problem is simply that the unsubscribe access callback checks for a permissions that doesn't exist (manage own subscriptions) where it should check for "maintain own subscriptions".

This patch fixes this.

wiifm’s picture

Status: Active » Reviewed & tested by the community

+1 lets get this patch in ASAP

acbramley’s picture

Priority: Normal » Major

Bumping priority as it's a pretty important part of notifications.

fizk’s picture

I just ran into this issue as well.

acbramley’s picture

I'm in the process of trying to get co-maintainership of the D7 version of notifications because I've run into several trivial bugs like this that are breaking integral parts of the module. See http://drupal.org/node/1211416

webflo’s picture

Assigned: Unassigned » webflo

Hi, i am a new co maintainer. I happy to commit this patch. Give me a few days. You can help with reviewing the other patches. http://drupal.org/project/issues/notifications?status=8&version=7.x

Thanks a lot.
Florian

acbramley’s picture

Cool, if you could have a look at http://drupal.org/node/1218216 and http://drupal.org/node/1211342 too that would be awesome. Will get on to reviewing some patches as soon as I have time.

webflo’s picture

Status: Reviewed & tested by the community » Fixed

Commit 0c7fdb5 on 7.x-1.x. Thanks.

Status: Fixed » Closed (fixed)

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