[Product-Developers] return transitions available for the authenticated user

David Bain david.bain at alteroo.com
Mon Jun 30 14:04:34 UTC 2008


The following code gets all available transitions, however I would like to
filter transitions based on what a user can actually do.

<tal:transitions define="transitions
python:wtool.getTransitionsFor(context)"
          >


What would I need to make the above code return only the transitions that
the authenticated user can do. Or perhaps it already does that and I'm doing
something else wrong.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.plone.org/pipermail/plone-product-developers/attachments/20080630/cd92e035/attachment-0002.html>


More information about the Product-Developers mailing list