How to let users promote content to front page WITHOUT giving them "administer nodes" privs?
dnorman - January 23, 2006 - 19:35
I've been running a couple of Drupal instances on campus, and had been letting users "administer nodes" so they could promote stuff to the front page. BUT this also means they can edit each other's posts. Wasn't a big deal, but now it's being used in some classes, where that could be a Very Bad Thing.
So, is it possible to allow users to promote their content to the front page WITHOUT handing them the keys to modify all content in the database?

I'm new at all this, but in
I'm new at all this, but in my installation (4.6) just about everything posted by 'authenticated users' (as opposed to 'admin') is automatically promoted to the front page. In fact, I'm not aware of a way for them to NOT have it promoted?
it's kind of buried
administer/content/configure/content types tab/story configure button will get you to an interface where you can change the default options for each content type (book/story/page, etc.). Whew, that's a lot of clicks!
you can also just paste in:
admin/node/configure/types/story
to get to the same page.
Hey, thanks! Just gotta dig
Hey, thanks! Just gotta dig deep enough...
Workflow
You can change the default "promotion" setting by updating the workflow settings for the node type.
For example, to modify the "story" workflow settings go to
administer > settings > content types > story (admin/settings/content-types/story). In the "workflow" area set the "promoted to front page" checkbox as desired.
This default setting will apply to all users. Those with sufficient permission will still be able to change the setting per node though.
Not in any current Drupal version
I'm not sure which version of Drupal you're running, but 4.5 and 4.6 definitely do not have the series of options you suggest above.
In these versions, you'll want to go to:
administer > content > configure > default workflow
You allow them to post
You allow them to post stories, which you auto-promote in the way suggested here, and another content type which you don't auto-promote. If the user wants a post to go to front page, s/he posts a story. If not, s/he uses the other content type.
There must be a better way..
I thought there would be a better solution than this. Every other thing I've needed to customise in Drupal has had an elegant solution.
I have stories on other pages that shouldn't be seen on the front page which means I cannot turn on auto-promote.
Is it possible to create more access control that allows a normal user to publish to front page but not administer nodes?
That would be the perfect solution I think.
I can't think of any other
I can't think of any other way without changes to the code. The only setting to allow users to promote content is "administer nodes". If we can'r have that, then the only option left is to offer them one auto-promoted node type. Not necessarily a 'story'. It can be a flexinode.
node moderation
It's been a long time since I experimented with the node moderation module, but I believe it allows the administrator to set the number of votes a post needs to get to the front page. Set it to one, and then any user would be able to promote posts. Of course, this means students might be able to unpromote items voted to the front page by casting a negative vote (you'll have to investigate the module; perhaps you could eliminate this).
For a possible solution to
For a possible solution to stop giving global administer nodes privileges to your users, please take a look http://drupal.org/node/32669 (might not work with 4.6, though). This is now in 4.7 by default.
There is another post which talks about allowing users to edit a node type without giving them administer>>nodes privileges. That might give you some ideas:
http://drupal.org/node/42558
I remember a forum posting where someone had someone had posted code to solve this problem for 4.6. I thought I had bookmarked it, but I am unable to get the link now.
Is there any simple solution
Is there any simple solution to this at the moment? Thanks in advance!