lib/openwfe/expressions/fe_if.rb in openwferu-0.9.12 vs lib/openwfe/expressions/fe_if.rb in openwferu-0.9.12.863
- old
+ new
@@ -28,12 +28,10 @@
# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
# POSSIBILITY OF SUCH DAMAGE.
#++
#
-# $Id: definitions.rb 2725 2006-06-02 13:26:32Z jmettraux $
-#
#
# "made in Japan"
#
# John Mettraux at openwfe.org
@@ -77,9 +75,17 @@
# in Ruby :
#
# <if rtest="5 * 12 == 61">
# <participant ref="alpha" />
# </if>
+ #
+ # (Note that 'rtest' may only be used if the <tt>:ruby_eval_allowed</tt>
+ # parameter has been set in the engine's application_context :
+ #
+ # engine.application_context[:ruby_eval_allowed] = true
+ #
+ # but this is dangerous if the origin of the process defintions to run
+ # are not trusted)
#
# Used alone with 'test' or 'rtest', the 'if' expression simply sets the
# the __result__ field of its workitem to the result of its attribute
# evaluation :
#