MCPcopy Create free account
hub / github.com/authorizerdev/authorizer / FgaGetModel

Method FgaGetModel

internal/graphql/provider.go:214–214  ·  view source on GitHub ↗

FgaGetModel returns the active fine-grained authorization model. Permissions: authorizer:admin

(ctx context.Context)

Source from the content-addressed store, hash-verified

212 // FgaGetModel returns the active fine-grained authorization model.
213 // Permissions: authorizer:admin
214 FgaGetModel(ctx context.Context) (*model.FgaModel, error)
215 // FgaWriteTuples writes fine-grained authorization tuples.
216 // Permissions: authorizer:admin
217 FgaWriteTuples(ctx context.Context, params *model.FgaWriteTuplesInput) (*model.Response, error)

Callers 6

TestFGAFunction · 0.65
TestFGADisabledFunction · 0.65
TestAdminFgaGetModelGRPCFunction · 0.65
FgaGetModelMethod · 0.65
FgaGetModelMethod · 0.65
FgaGetModelMethod · 0.65

Calls

no outgoing calls

Tested by 3

TestFGAFunction · 0.52
TestFGADisabledFunction · 0.52
TestAdminFgaGetModelGRPCFunction · 0.52