Hi Maurizio,

On 29 October 2010 16:58, Maurizio Pillitu <[email protected]>wrote:

> Hi everyone,
>
> I'm working on Hippo CMS 6.05.10 and I'd like to know if it somehow
> possible
> to prevent users to remove documents that are currently published; I
> remember this feature was implemented somehow, but I cannot find any
> reference or documentation.
>

The default reviewed actions workflow in CMS 6 allows you to delete or move
a document that is currently published. In CMS 7 the only action you can do
on a published document is to unpublish. Other actions are available if a
document is unpublished.
If you want this same behaviour in CMS6 you'll have to modify the reviewed
actions workflow [1]. For the renameDocument function this check already
exists and you can see its condition in [2]. Renaming a document is only
possible if a document is unpublished.

[1] https://wiki.onehippo.com/display/CMS/10.+Workflow
[2]
http://svn.hippocms.org/repos/hippo/hippo-workflows/tags/Release-WFREVACT-v1_04_14/src/workflow/ReviewedActionsWorkflow.xml

Ciao,

Jasha Joachimsthal

[email protected] - [email protected]

Hippo
Europe  •  Amsterdam  Oosteinde 11  •  1017 WT Amsterdam  •  +31 (0)20 522
4466
USA  • San Francisco  185 H Street Suite B  •  Petaluma CA 94952-5100 •  +1
(707) 773 4646
Canada    •   Montréal  5369 Boulevard St-Laurent #430  •  Montréal QC H2T
1S5  •  +1 (514) 316 8966
www.onehippo.com  •  www.onehippo.org  •  [email protected]
********************************************
Hippocms-dev: Hippo CMS 6 development public mailinglist

Searchable archives can be found at:
MarkMail: http://hippocms-dev.markmail.org
Nabble: http://www.nabble.com/Hippo-CMS-f26633.html

Reply via email to