Sha256: 540db845aea3bea009a2b2d465bf2ab8103603e0925315bb29de1bef9e918dfc
Contents?: true
Size: 438 Bytes
Versions: 13
Compression:
Stored size: 438 Bytes
Contents
delegate :accounted, to: :account_card def account_card left end # allow account owner to update account field content def ok_to_update return true if own_account? && !name_changed? && !type_id_changed? super end # force inherit permission on create # (cannot be done with rule, because sets are not addressable) def permission_rule_id action if action == :create left_permission_rule_id action else super end end
Version data entries
13 entries across 13 versions & 1 rubygems