I want my users to only be able to subscribe to taxonomy terms and nothing else. When I gave them only access 'subscribe to taxonomy terms' their changes are not added to subscriptions table. I had to add 'subscribe to content' permission to get it to work, but I don't want them to get those additional options.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | subscriptions.access_key.patch | 4.65 KB | salvis |
Comments
Comment #1
salvisWhat do you mean by "their changes"? Please be more specific.
Comment #2
jody lynnSteps to reproduce:
Set a role to have 'subscribe to taxonomy terms' permission and no other subscriptions permissions.
Log in as that role.
Go to My account: user/{#}/subscriptions/taxa
Check off a taxonomy term to subscribe to and hit submit.
No errror message appears, but
Your changes are not saved and nothing has been entered into the database.
Add 'subscribe to content' permission to the role.
The taxonomy subscriptions now work correctly.
Comment #3
salvisAmazing! :-)
This should fix it. The patch may have some offsets, but it should still apply.
Thanks, Lynn!
@gustav: note the additional 'access_key' form value!
Comment #4
jody lynnThanks Salvis.
The patch fixes the problem for me.
Comment #5
develcuy commentedThank you Salvis, I've applied your patch solution to subscription_og module. Works well!
Blessings!
Comment #6
salvisComment #7
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.