By stenik09 on
I'd like to be able to allow an authed user to create content, and to also change the published/unpublished status of their own content. My problem is that this option doesn't show up unless I give them the 'administer nodes' permission, but when I do that, they're able to edit any node; not just their own. Is there some way I can let them *only* publish/unpublish their own content?
Thanks!
_Nik
Comments
the only thing i know of
the only thing i know of that comes close http://drupal.org/project/save_as_draft, but I've not used it. You could also probably use something like http://drupal.org/project/flag to mimic this functionality, but then you would have to override all listings with views that use the published flag instead of the actual published status (lots of work and a feels hacky to me).
EDIT: just saw http://drupal.org/project/publishcontent which might be useful also. yet another option http://drupal.org/project/private (may be the best).
===
"Give a man a fish and you feed him for a day.
Teach a man to fish and you feed him for a lifetime." -- Lao Tzu
"God helps those who help themselves." -- Benjamin Franklin
"Search is your best friend." -- Worldfallz
A tiny custom module would
A tiny custom module would probably do it using hook_form_alter() to modify the #access attribute of the Published checkbox. #access is actually not documented for D5 but it works the same as in D6 http://api.drupal.org/api/file/developer/topics/forms_api_reference.html... (see also http://drupal.org/node/280402).
gpk
----
www.alexoria.co.uk
gpk
----
www.alexoria.co.uk
Thanks for the suggestions
Thanks for the suggestions and references; I'll look into them.
_Nik