(fieldMask *fieldmaskpb.FieldMask, want string)
| 225 | } |
| 226 | |
| 227 | func hasPath(fieldMask *fieldmaskpb.FieldMask, want string) bool { |
| 228 | if fieldMask == nil { |
| 229 | return false |
| 230 | } |
| 231 | for _, path := range fieldMask.Paths { |
| 232 | if path == want { |
| 233 | return true |
| 234 | } |
| 235 | } |
| 236 | return false |
| 237 | } |
| 238 | |
| 239 | func doIAMPermissionCheck(ctx context.Context, iamManager *iam.Manager, fullMethod string, user *store.UserMessage, authContext *common.AuthContext) (bool, []string, error) { |
| 240 | if auth.IsAuthenticationSkipped(fullMethod, authContext) { |
no outgoing calls
no test coverage detected