1

I'm using Drupal 7 and workflow module for Article content type. There are two roles author, editor. There can be as many number of authors as how many we want, but there are only four editors. Workflow states: Review, Back to Author and Publish.

Worflow offers very good publishing process throught it's rules and actions. Authors create articles, and change the workflow state to Review and save it. Editors have two choices either to publish the content or return it back to the author of the article. Works cool!

But what I want is to make the authors to choose one of the editors(there 4 of them), that editor is going to be assigned to this article, and only he/she can edit this article while the worflow state changes into Review. Currently any user with Editor role can edit the articles with Review state.

2

If the Rules module is used on your site (as you wrote in comment), then create a rule for Node editing.

  1. Condition: Check that assigned Editor field isn't equal to current user
  2. Action: Show access denied or just redirect to some page
  • I've created a "Node editing" rule, but I can't the condition in the condition list, though I can see there's "Redirect to URL" action – Drupalizer May 22 '12 at 15:56
  • hey I'v found that there's a DATA COMPARISON option, through which we can compare the users, :) – Drupalizer May 22 '12 at 15:59
3

I use workbench, which accomplishes the same thing as workflow. There is a module in the workbench collection called Workbench access that I use to send content to specific editors in the workflow. I use it for my school newspaper so that writers moderate content to the editors of their specific section (i.e. news, sports, arts, lifestyle, etc.) then the Editors send the content to me for final approval and publication on the site. Hope this helps!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.