Module: Bali::Judger
- Defined in:
- lib/bali/foundations/judger/judge.rb,
lib/bali/foundations/judger/negative_judge.rb,
lib/bali/foundations/judger/positive_judge.rb
Defined Under Namespace
Classes: Judge, NegativeJudge, PositiveJudge
Constant Summary collapse
- BALI_FUZY_FALSE =
FUZY-ed value is happen when it is not really clear, need further cross checking, whether it is really allowed or not. It happens for example in block with others, such as this:
role :finance do
cannot :viewend others do
can :view can :indexend
In the example above, objecting cannot view on finance will result in STRONG_FALSE, but objecting can index on finance will result in FUZY_TRUE.
Eventually, all FUZY value will be normal TRUE or FALSE if no definite counterpart is found/defined
-2- BALI_FUZY_TRUE =
2- BALI_FALSE =
-1- BALI_TRUE =
1