Hi,

I want to only allow editors etc to create content UNPUBLISHED, and then an admin only can publish it. Any solution programmatically ?

Comments

sprite’s picture

Try the following well maintained module:

https://www.drupal.org/project/workflow

spritefully yours
Technical assistance provided to the Drupal community on my own time ...
Thank yous appreciated ...

cofaure’s picture

Yes i'm trying but I dont have the publish or unpublish actions ... Do i have to add them programmatically ? How ?

dotmundo’s picture

The Workbench Moderation will allow you to customize the content states without programming. It's quite complex but very powerful.

https://www.drupal.org/project/workbench_moderation

cofaure’s picture

It seems to be good, i'll try. I you know examples or something i'm interested ;)

cofaure’s picture

So, my users creating a content not published. But i can't create a role who can publish the content in the group... The content is visible in related entities, but not editable.

Any idea

dotmundo’s picture

Creating a role should be very simple. This does not sound like a problem with that module.