Sha256: 214681d8ba8e802dbf089b356a221296d1e7767552187a2a7765c11a52d4ac97
Contents?: true
Size: 312 Bytes
Versions: 158
Compression:
Stored size: 312 Bytes
Contents
class Relation::Public < Relation::Single # A {Relation::Public public relation} is always the weakest def <=>(relation) 1 end # Are we supporting custom permissions for {Relation::Public}? Not by the moment. def allow?(user, action, object) action == 'read' && object == 'activity' end end
Version data entries
158 entries across 158 versions & 4 rubygems