Sha256: bce672abcf01a166f46d85badd17b248a195b08b76c296166ff19612d8d9949c
Contents?: true
Size: 425 Bytes
Versions: 9
Compression:
Stored size: 425 Bytes
Contents
delegate :accounted, to: :account_card def account_card left end # allow account owner to update account field content def ok_to_update (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
9 entries across 9 versions & 1 rubygems