(ctx context.Context, typ RequestType, req api.CertificationTargetRequest)
| 54 | // supplied context (e.g., based on the authenticated user). |
| 55 | type AuthorizationStrategy interface { |
| 56 | CheckAccess(ctx context.Context, typ RequestType, req api.CertificationTargetRequest) bool |
| 57 | AllowedCertificationTargets(ctx context.Context) (all bool, IDs []string) |
| 58 | } |
| 59 |
no outgoing calls
no test coverage detected