lib/avo/fields/has_base_field.rb in avo-3.13.6 vs lib/avo/fields/has_base_field.rb in avo-3.13.7

- old
+ new

@@ -97,11 +97,13 @@ method = :"view_#{id}?" service = field_resource.authorization if service.has_method? method service.authorize_action(method, raise_exception: false) + elsif !service.is_a?(Avo::Services::AuthorizationService) + !Avo.configuration.explicit_authorization else - !Avo.configuration.implicit_authorization + true end end def default_name use_resource&.name || super