Skip to main content

needs

Function needs 

Source
pub fn needs(action: &str) -> &'static [&'static str]
Expand description

The scopes an action can run with: any one of them is enough, so a partial grant still runs what it covers (§7).