Closed (duplicate)
Project:
Simplenews
Version:
6.x-2.x-dev
Component:
Usability
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
9 Nov 2010 at 15:19 UTC
Updated:
9 Nov 2010 at 19:47 UTC
Subscribe and unsubscribe should not share the same permissions. A user should be able to unsubscribe from a newsletter without loging in. The simplest way is to separate the menu like so:
function simplenews_menu() {
...
$items['newsletter/confirm/remove'] = array(
'title' => 'Confirm newsletter subscriptions',
'type' => MENU_CALLBACK,
'page callback' => 'simplenews_confirm_subscription',
'page arguments' => array(2),
'access arguments' => array('access content'),
'file' => 'simplenews.subscription.inc',
);
Of course, the simplenews module should have a different permission for unsubscribing.
I would prefer to be able to manage this setting per newsletter, but for now, this patch does the work.
Thank you.
Comments
Comment #1
miro_dietikerPlease check the issue tracker.
This is a duplicate to:
#772640: Allow access to unsubscribe links without subscribe permission