old_contents: from zou.app.models.entity_type import EntityType
  from .base import BaseModelResource, BaseModelsResource
  
  
  class EntityTypesResource(BaseModelsResource):
  
      def __init__(self):
          BaseModelsResource.__init__(self, EntityType)
  
      def check_read_permissions(self, instance):
          return True
  
  
  class EntityTypeResource(BaseModelResource):
  
      def __init__(self):
          BaseModelResource.__init__(self, EntityType)
  
      def check_read_permissions(self, instance):
          return True
  
new_contents: from zou.app.models.entity_type import EntityType
  from .base import BaseModelResource, BaseModelsResource
  
  
  class EntityTypesResource(BaseModelsResource):
  
      def __init__(self):
          BaseModelsResource.__init__(self, EntityType)
  
      def check_read_permissions(self):
          return True
  
  
  class EntityTypeResource(BaseModelResource):
  
      def __init__(self):
          BaseModelResource.__init__(self, EntityType)
  
      def check_read_permissions(self, instance):
          return True
  
subject: Fix entiy type resource