class CheckAcl

Public Instance Methods

call(obj_acl) click to toggle source
# File lib/s3sec/services/check_acl.rb, line 3
def call(obj_acl)
  obj_acl.grants.any? do |grant|
   !!grant.grantee.uri.to_s.match(/AllUsers/)
  end
end