Closed (duplicate)
Project:
Workbench Access
Version:
7.x-1.2
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
29 Jan 2013 at 14:38 UTC
Updated:
30 Jan 2013 at 11:37 UTC
Hi,
I'm using Workbench Access along with drupals core Forum module + Advanced forums, when a user with post only permissions creates a topic the node creation page looks like this:

How can i get the Section dropdown to default to the current section in the forum? In this screenshot it would be "General discussions".
Seems a little strange having this option at all for a basic locked down forum user but i need to use workbench to limit down the workflow for content admins...
| Comment | File | Size | Author |
|---|---|---|---|
| Screenshot from 2013-01-29 14:34:20.png | 18.35 KB | Caffeine Addict |
Comments
Comment #0.0
Caffeine Addict commentedUpdated image
Comment #1
agentrickardThis is not a bug. Pre-selecting a security option is a UX error (and one that was already filed and fixed).
You can exclude forum posts from Workbench Access control, if you like, using the content type settings form. It might also be possible to set the Forum taxonomy as an access control field, using the new settings for using standard fields instead of the custom field. (See the "Require a Workbench Access form element" setting.)
Otherwise, you need a custom hook_form_alter() to read the context and set the section.
Comment #2
Caffeine Addict commentedThanks for answering so quick! I ended up going down the taxonomy_access module route as the requirement of users being able to edit their original posts was changed, so i was able to remove workbench access from the forum user role which also removed the Section option from the forum user node creation screen.
I'll have a look at the form element setting, thanks for the suggestions!
As this has already been fixed i'll change the status to closed (dup).
Comment #2.0
Caffeine Addict commentedupdated image