Sha256: 12a2d6099455e83ff5b799ac4fbd4863db1bf0c362ddecc07645c8c52f0f2a65

Contents?: true

Size: 341 Bytes

Versions: 7

Compression:

Stored size: 341 Bytes

Contents

module CanTango
  class Configuration
    class Engines
      class Permit < Engine
        def on?
          @state ||= :on
          @state == :on
        end

        def types
          [:roles, :role_groups, :licenses, :users]
        end

        def special_permits
          [:any, :system]
        end
      end
    end
  end
end


Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
cantango-0.9.4.7 lib/cantango/configuration/engines/permit.rb
cantango-0.9.4.6 lib/cantango/configuration/engines/permit.rb
cantango-0.9.4.5 lib/cantango/configuration/engines/permit.rb
cantango-0.9.4.3 lib/cantango/configuration/engines/permit.rb
cantango-0.9.4.2 lib/cantango/configuration/engines/permit.rb
cantango-0.9.4.1 lib/cantango/configuration/engines/permit.rb
cantango-0.9.4 lib/cantango/configuration/engines/permit.rb