Sha256: c0a05e6b3d1b47ebb6d572350bdca7bd52aebb87dcbc8539229727280f021566

Contents?: true

Size: 151 Bytes

Versions: 5

Compression:

Stored size: 151 Bytes

Contents

class OwnerGroup < Group
  def match_user_on_record?(user, record)
    return false if user.nil?
    user == record.owner
  rescue
    false
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
yodel-0.0.7 lib/yodel/models/security/owner_group.rb
yodel-0.0.4 lib/yodel/models/security/owner_group.rb
yodel-0.0.3 lib/yodel/models/security/owner_group.rb
yodel-0.0.2 lib/yodel/models/security/owner_group.rb
yodel-0.0.1 lib/yodel/models/security/owner_group.rb