Closed (fixed)
Project:
Premium
Version:
4.7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
12 Jun 2006 at 06:09 UTC
Updated:
4 Sep 2007 at 17:32 UTC
Even with workflow (settings -> content types -> story -> configure -> workflow) enabling "Access restricted for non-premium users," new content created by non-administrators does not respect this option. For admins, the premium access is checked, but for non-admins -- regardless of the workflow setting for any content type -- premium access for content is not enabled. Admins or users with publishing options control must manually enabled "Access restricted for non-premium users" on the new content.
Comments
Comment #1
simon rawson commentedI would have thought that this is not a bug, rather this was how the module was written to work. (That is not to say that is correct!)
The "premium" option is tagged onto the "Publishing Option" in the node form, the rest of which is only available to users who have the "administer nodes" permission.
Maybe "make nodes premium" should be a separate permission and there shoud be a separate fieldset on the node form?
Comment #2
vph commentedI too have this problem. I think it's an oversight. The reason admin sees the checkbox is that he has the option to UNCHECK it (i.e. making the node non-premium even thought it is set premium). If, however, a node is supposed to be premium, then it should be premium by default and a non-admin user can not make it non-premium.
Comment #3
vph commentedHere is a patch.
Or if you want, replace the premium_nodeapi with this new one
Comment #4
allie mickaFixed in HEAD. Thanks a lot y'all!
Comment #5
(not verified) commented