| Class | Authorization::DevelopmentSupport::Analyzer::RoleExplosionAnalyzer |
| In: |
lib/declarative_authorization/development_support/analyzer.rb
|
| Parent: | GeneralRulesAnalyzer |
| SMALL_ROLE_RULES_COUNT | = | 3 |
| SMALL_ROLES_RATIO | = | 0.2 |
# File lib/declarative_authorization/development_support/analyzer.rb, line 102
102: def analyze_policy
103: small_roles.length > 1 and small_roles.length.to_f / roles.length.to_f > SMALL_ROLES_RATIO
104: end