Class: Shamu::Security::NoPolicy
- Inherits:
-
Object
- Object
- Shamu::Security::NoPolicy
- Defined in:
- lib/shamu/security/no_policy.rb
Overview
Used in specs and service to service delegated requests to effectively offer no policy and permit all actions.
Instance Method Summary collapse
-
#permit? ⇒ :yes, ...
Determines if the given
actionmay be performed on the givenresource.
Instance Method Details
#permit? ⇒ :yes, ...
Determines if the given action may be performed on the given
resource.
9 10 11 |
# File 'lib/shamu/security/no_policy.rb', line 9 def permit?( * ) :yes end |