SetInvoker sets the delegate for the CheckEngine.
(invoker invoke.Check)
| 53 | |
| 54 | // SetInvoker sets the delegate for the CheckEngine. |
| 55 | func (engine *CheckEngine) SetInvoker(invoker invoke.Check) { |
| 56 | engine.invoker = invoker |
| 57 | } |
| 58 | |
| 59 | // Check executes a permission check based on the provided request. |
| 60 | // The permission field in the request can either be a relation or an permission. |
no outgoing calls
no test coverage detected