Create Custom Access Control Rule
Should return access level, one of:
Parametrized access rule
getParams()- Get params set by annotations, these are previously set by
setParams()- Set rule params. These params are taken from annotation, and internally passed to ACL rule by passing them into this method.
Reading model values
Access Rule can also interact with checked model, to benefit from this,