(ctx context.Context, arg database.MarkAllInboxNotificationsAsReadParams)
| 6279 | } |
| 6280 | |
| 6281 | func (q *querier) MarkAllInboxNotificationsAsRead(ctx context.Context, arg database.MarkAllInboxNotificationsAsReadParams) error { |
| 6282 | resource := rbac.ResourceInboxNotification.WithOwner(arg.UserID.String()) |
| 6283 | |
| 6284 | if err := q.authorizeContext(ctx, policy.ActionUpdate, resource); err != nil { |
| 6285 | return err |
| 6286 | } |
| 6287 | |
| 6288 | return q.db.MarkAllInboxNotificationsAsRead(ctx, arg) |
| 6289 | } |
| 6290 | |
| 6291 | func (q *querier) OIDCClaimFieldValues(ctx context.Context, args database.OIDCClaimFieldValuesParams) ([]string, error) { |
| 6292 | resource := rbac.ResourceIdpsyncSettings |
nothing calls this directly
no test coverage detected