set/abstract/account_field.rb in card-mod-account-0.14.2 vs set/abstract/account_field.rb in card-mod-account-0.15.0
- old
+ new
@@ -4,12 +4,10 @@
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
+ (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