[][src]Crate actix_grants_proc_macro

Attribute Macros

has_any_authority

Macro to сheck that the user has any of the specified authorities.

has_any_role

Macro to сheck that the user has any the specified roles. Role - is authority with prefix "ROLE_".

has_authorities

Macro to сheck that the user has all the specified authorities.

has_roles

Macro to сheck that the user has all the specified roles. Role - is authority with prefix "ROLE_".