public FlexWikiAuthorizationException(SecurableAction action, AuthorizationRuleScope scope, string name) { _action = action; _scope = scope; _name = name; }
private static bool IsValidCombination(AuthorizationRuleWho who, AuthorizationRulePolarity what, AuthorizationRuleScope where, SecurableAction permission) { if ((where == AuthorizationRuleScope.Topic) && (permission == SecurableAction.ManageNamespace)) { return false; } return true; }