Skip to main content

has_access

Attribute Macro has_access 

Source
#[has_access]
👎Deprecated since 0.3.0: Use #[pre_authorize(authority = “…”)] instead
Expand description

Deprecated: Use #[pre_authorize(authority = "...")] instead.

This macro is kept for backward compatibility.