Forums / Developer / Policy rule

Policy rule

Author Message

Roberto Sacchi

Tuesday 10 March 2009 2:58:56 pm

I would like to create a policy rule like that:
users can edit an object but they can only save a draft, not publish the modified content.
(another rule could be "create but not publish")

I don't find that function in the admin panel.
Maybe I miss it.

Thanks

Rob

Jean-Yves Zinsou

Tuesday 10 March 2009 3:50:09 pm

Hi there,
in fact, it is not the way it supposed to be done.

You must allow users to create content, and then define a workflow with an event /approve and a trigger "before publish" .

When they will click on "publish" the element will be submitted to a group of approvers.
After an approver approves (ha ha) the object will be really published on the site.

You can even define a set of users that can publish without approval needed.

Se here :
http://ez.no/doc/ez_publish/technical_manual/4_0/reference/workflow_events/approve

Don't forget : you must properly define the schedule of the matching cronjobs...
Hope this helps

Have fun !
Jey

Do Androids Dream of Electric Sheep?
I dream of eZpubliSheep....
------------------------------------------------------------------------
http://www.alma.fr