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

Method FgaWriteModel

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

FgaWriteModel installs a new fine-grained authorization model. Permissions: authorizer:admin

(ctx context.Context, params *model.FgaWriteModelInput)

Source from the content-addressed store, hash-verified

209 // FgaWriteModel installs a new fine-grained authorization model.
210 // Permissions: authorizer:admin
211 FgaWriteModel(ctx context.Context, params *model.FgaWriteModelInput) (*model.FgaModel, error)
212 // FgaGetModel returns the active fine-grained authorization model.
213 // Permissions: authorizer:admin
214 FgaGetModel(ctx context.Context) (*model.FgaModel, error)

Callers 6

TestFGAFunction · 0.65
TestFGADisabledFunction · 0.65
FgaWriteModelMethod · 0.65
FgaWriteModelMethod · 0.65
FgaWriteModelMethod · 0.65

Calls

no outgoing calls

Tested by 3

TestFGAFunction · 0.52
TestFGADisabledFunction · 0.52