Is there any documentation someone can point me to on defining the policy_effect in model files?
In the various example model files there are some functions used (e.g. where, some, priority). Where can I find a list of the available functions that can be used as I couldn't find any documentation on them.
Also, where can I find a list of the available attributes for the policy such as the p.eft that is used? Are there others that may be valuable to use in certain scenarios?
Looking through the code I found the DefaultEffector class merge_effects() method that processes the policy_effect. Suprisingly from the code there is only 4 possible values for the policy_effect and they are specific strings and not actual code as I was expecting. The 4 possible values are:
"some(where (p_eft == allow))""!some(where (p_eft == deny))""some(where (p_eft == allow)) && !some(where (p_eft == deny))""priority(p_eft) || deny"