//! [`authorize`] — the class-level access gate, the GraphQL analog of
//! [`crate::http::Authorize`].
use TypeId;
use ;
use ;
use crate::;
/// Class-level gate: require action `A` on subject `S`. Returns a GraphQL
/// `forbidden` error (code `FORBIDDEN`) when the caller's ability does not grant
/// it (or when no ability is present — so it doubles as the auth gate).