Expand description
The attribute macros of Puerto projects (ADR-0021 § 4). A project reaches them through
puerto-web — puerto_web::requiere_rol — never by depending on this crate.
Attribute Macros§
- requiere_
rol #[requiere_rol("admin")]on a handler that takesauth: BearerAuth: a caller without the role is answered403 auth.prohibidobefore the body runs.