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:

image

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...

Comments

Caffeine Addict’s picture

Issue summary: View changes

Updated image

agentrickard’s picture

Category: bug » support

This 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.

Caffeine Addict’s picture

Status: Active » Closed (duplicate)

Thanks 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).

Caffeine Addict’s picture

Issue summary: View changes

updated image