[Plone-IT] working copy (chi puo' fare checkin?)

Yuri yurj a alfa.it
Ven 6 Lug 2012 06:42:59 UTC


https://dev.plone.org/ticket/7372#comment:7

This is not a bug. The action (and the view that does the work) are 
restricted to "Modify portal content". That is, you can't do a 
"checkout, edit, checkin" cycle if you don't actually have permission to 
edit the object. In the published state of the intranet/extranet 
workflow, the owner (or Editor role) does not have edit permission in 
the published state. In the "simple publication workflow", by default it 
does.

The workaround is simple: use a custom workflow (a copy of the 
intranet/extranet one, perhaps) that gives the Owner and Editor roles 
"Modify portal content" in the published state.



A quanto ne so, l'Editor non può creare nuovi contenuti, e il revisore 
può intervenire solo nello stato Review, non quando è pubblico.

Mi pare di aver capito che devi cambiare il workflow, insomma.

altre info interessanti:

https://dev.plone.org/ticket/7707
http://plone.org/products/iterate/issues/23 
<http://plone.org/products/iterate/issues/23>
http://plone.org/products/iterate/issues/24


Il 05/07/2012 18:22, Giacomo Zanobini ha scritto:
>
> ho un problema di permessi, non riesco a capire se è il comportamento 
> standard di Plone.
> Sul sito ho installato il supporto alla working copy e utilizzo il 
> workflow plone_workflow (quello con la bozza pubblica).
>
>
> Quando un contenuto è pubblicato si puo' fare il checkout e viene 
> creata una copia del contenuto (diciamo di tipo pagina).
> Il problema è che gli utenti (siano anche con ruolo Editor o Reviewer) 
> non riescono a fare il checkin. (non viene visualizzata neppure la Action)
> Solo chi ha il ruolo manager puo' fare il checkin.
>
> Ho guardato il codice della funzione "checkin_allowed()" che viene 
> chiamata per decidere se visualizzare la action, ed ho scoperto che 
> contiene questa riga:
>>         if not 
>> checkPermission(Products.CMFCore.permissions.ModifyPortalContent, 
>> original):
>>             return False
> mi suona strano che il controllo venga fatto sul permesso 
> ModifyPortalContent
>
>
> ma è normale in Plone? Mi pare che in questo modo, il checkin allora 
> lo puo' fare solo un manager.
> Mi sarei aspettato che potesse almeno farlo un Reviewer.
>
>
> e soprattutto, a cosa serve il permesso iterate : Check in content 
> <http://10.100.21.127:8083/test/manage_permissionForm?permission_to_manage=iterate%20%3A%20Check%20in%20content> 
> che si vede da zmi in manage_access, visto che non sembra essere 
> utilizzato?
>
>
> Giacomo
>
>
>
> _______________________________________________
> Plone-IT mailing list
> Plone-IT a lists.plone.org
> https://lists.plone.org/mailman/listinfo/plone-plone-it
> http://plone-regional-forums.221720.n2.nabble.com/Plone-Italy-f221721.html



Maggiori informazioni sulla lista Plone-IT