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

Method EnableAccess

internal/graphql/enable_access.go:15–19  ·  view source on GitHub ↗

EnableAccess delegates to the transport-agnostic service layer. Resolver is a thin transport adapter. Permissions: authorizer:admin

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

Source from the content-addressed store, hash-verified

13//
14// Permissions: authorizer:admin
15func (g *graphqlProvider) EnableAccess(ctx context.Context, params *model.UpdateAccessRequest) (*model.Response, error) {
16 gc, _ := utils.GinContextFromContext(ctx)
17 res, _, err := g.adminService().EnableAccess(ctx, service.MetaFromGin(gc), params)
18 return res, err
19}

Callers

nothing calls this directly

Calls 4

adminServiceMethod · 0.95
GinContextFromContextFunction · 0.92
MetaFromGinFunction · 0.92
EnableAccessMethod · 0.65

Tested by

no test coverage detected