void setId(String id)
boolean accept(Action action, ActionContext context)
The action is considered valid if no denying rule is found and at least one granting rule is found. If no rule is found at all, it is valid.
In other words: OR between granting rules, AND between denying rules, denial is favored (also if exceptions occur), AND inside of rules, OR inside or rule items (type, facet,...).
action- the optional action to check against, should be able to be null if filters evaluation only depends on given context.
context- mandatory context holding variables to check against.
Copyright © 2014 Nuxeo SA. All rights reserved.