Skip to main content

has_role

Attribute Macro has_role 

Source
#[has_role]
👎Deprecated since 0.3.0: Use #[secured] instead
Expand description

Deprecated: Use #[secured("ROLE")] instead.

This macro is kept for backward compatibility.