lib/lucid_policy/mixin.rb in isomorfeus-policy-1.0.0.epsilon1 vs lib/lucid_policy/mixin.rb in isomorfeus-policy-1.0.0.epsilon2

- old
+ new

@@ -55,9 +55,13 @@ end end @the_class.authorization_rules[self.to_s] = { classes: {}, conditions: [], others: :deny } end + def all + :others + end + def allow(*classes_and_methods) _raise_allow_deny_first if @refine_used _allow_or_deny(:allow, *classes_and_methods) end