Validation and context
Registered by
Mirco Angelini
the context of the conditions should be the one where the tours will run.
e.g. in 01_basic_
[amberjack]
steps =
0_create-
1_fill-
2_publish-
3_all-done
title = Add and publish a folder
validators =
python: isNotCreated(
python: hasRole(
python: hasRole(
[0_create-
blueprint = collective.
text =
title = Create a new folder
url = /
microsteps =
...
you should:
1. get the first step's url (in this case '/')
2. apply it to the sandbox (so '/' or '/Members/
3. use it as context for the validators
Whiteboard
we could add more tests
(?)