Sha256: f11d8df47969346a1355cbce0c3ba99d3b1452ee7b04189686c05c389c7dfac9

Contents?: true

Size: 314 Bytes

Versions: 11

Compression:

Stored size: 314 Bytes

Contents

module Shamu
  module Security

    # ...
    class DelegatePrincipal < Principal

      # (see Principal#impersonate)
      def impersonate( user_id )
        fail NoPolicyImpersonationError
      end

      # (see Principal#service_delegate?)
      def service_delegate?
        true
      end

    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
shamu-0.0.24 lib/shamu/security/delegate_principal.rb
shamu-0.0.21 lib/shamu/security/delegate_principal.rb
shamu-0.0.20 lib/shamu/security/delegate_principal.rb
shamu-0.0.19 lib/shamu/security/delegate_principal.rb
shamu-0.0.18 lib/shamu/security/delegate_principal.rb
shamu-0.0.17 lib/shamu/security/delegate_principal.rb
shamu-0.0.15 lib/shamu/security/delegate_principal.rb
shamu-0.0.14 lib/shamu/security/delegate_principal.rb
shamu-0.0.13 lib/shamu/security/delegate_principal.rb
shamu-0.0.11 lib/shamu/security/delegate_principal.rb
shamu-0.0.9 lib/shamu/security/delegate_principal.rb