0

I am using workflow module to manage article moderation. I have created different state for that and for each state, I have set permissions using workflow content access.

Now, when an article is flagged, I am changing it's workflow state to say "s1" and unpublished the content.

In this state, author's can allow to edit the content but not publish it, the edited content will be sent to admin for review.

Now when I go to edit tab, it is showing "Publish" button too, by which author can Publish the content.

How can I remove these buttons ? Also is there any way, I can show workflow comment box in edit node page only.

-- Many thanks for your time.

1 Answer 1

0

The 'Publish' button isn't determined by the state of the node according to your workflow. Actually, whether the 'Publish' button appears is determined by the permissions you have as a user.

So if you look at the content in the s1 state, you may see the 'Publish' button, because you're an admin. An author looking at that same piece of content in the s1 state, however, shouldn't see that button based on the workflow moderation permissions you've given them. Does that make sense? It's not the workflow state, but the individual's permissions that determine whether that button is available.

So test it out by logging in as an author to see what they would see. If you can still see the 'Publish' button when you're logged in as an author, that may mean that you've inadvertently given that role a permission you didn't intend, such as 'Administer content', so double-check the permissions again. :0)

My authors definitely can't publish in some of my workflow states!

3
  • Thanks for your response, but the publish button is appearing even if I logged in as author. Can you tell me which permission should I revoke from author. Feb 27, 2013 at 4:29
  • Does the author role have the 'Administer content' permission I mention above? Feb 27, 2013 at 5:00
  • No, only Administrator has that permission. But author has edit own content permission. Feb 27, 2013 at 5:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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