Closed (fixed)
Project:
Simplenews
Version:
6.x-1.0-rc5
Component:
Usability
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
2 Mar 2009 at 21:02 UTC
Updated:
17 Mar 2009 at 18:20 UTC
In order to be able to edit a user's subscription settings, I would expect to need the following permission right:d "administer simplenews subscriptions".
It's working fine in most cases, except in one place. Indeed, in function "simplenews_subscription_manager_form", a permission string of "administer newsletter" is needed in order to edit subscriptions. I believe this permission check is too strong for this context. The permission "administer simplenews subscriptions" would be more suitable.
I've attached a very simple patch which fixes the problem.
Thanks,
jf
| Comment | File | Size | Author |
|---|---|---|---|
| simplenews-edit-subscription-permission.patch | 562 bytes | jfduchesneau |
Comments
Comment #1
sutharsan commentedYou are right, thanks! 'administer simplenews subscriptions' is a recent change and I did not realize this use.
Patch committed.