MCPcopy Create free account
hub / github.com/Permify/permify / SetInvoker

Method SetInvoker

internal/engines/check.go:55–57  ·  view source on GitHub ↗

SetInvoker sets the delegate for the CheckEngine.

(invoker invoke.Check)

Source from the content-addressed store, hash-verified

53
54// SetInvoker sets the delegate for the CheckEngine.
55func (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.

Callers 8

NewContainerFunction · 0.95
serveFunction · 0.95
gc_test.goFile · 0.80
check_test.goFile · 0.80
lookup_test.goFile · 0.80
check_test.goFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected