[Cubicweb] workflow migration

Sylvain Thénault sylvain.thenault at logilab.fr
Fri Jun 11 12:06:05 CEST 2010


On 24 mai 15:35, Nicolas Chauvat wrote:
> Hi,

late answer, it seems that mailman was done for a while :(

> For the EuroSciPy website built with the conference cube, I need to
> change all the permissions on the transitions of the Talk workflow.
> 
> Is there a command equivalent to sync_schema_props_perms() that would
> auto-magically sync all the permissions, or do I need to manually
> write a migration script that walks the transitions and uses
> set_permissions() ?

such a thing doesn't exists. The pb is that we don't have an
object representation of the workflow (outside cw) as we have
for the schema.
-- 
Sylvain Thénault                               LOGILAB, Paris (France)
Formations Python, Debian, Méth. Agiles: http://www.logilab.fr/formations
Développement logiciel sur mesure:       http://www.logilab.fr/services
CubicWeb, the semantic web framework:    http://www.cubicweb.org




More information about the Cubicweb mailing list