server/repository.py
branchstable
changeset 7780 a1d5365fefc1
parent 7723 badfd5524ab6
child 7782 40a49f4350a5
child 7794 aed065b97f12
equal deleted inserted replaced
7779:3826d8480a68 7780:a1d5365fefc1
    58 from cubicweb.server import ShuttingDown, utils, hook, pool, querier, sources
    58 from cubicweb.server import ShuttingDown, utils, hook, pool, querier, sources
    59 from cubicweb.server.session import Session, InternalSession, InternalManager, \
    59 from cubicweb.server.session import Session, InternalSession, InternalManager, \
    60      security_enabled
    60      security_enabled
    61 from cubicweb.server.ssplanner import EditedEntity
    61 from cubicweb.server.ssplanner import EditedEntity
    62 
    62 
    63 NO_CACHE_RELATIONS = set( [('require_permission', 'object'),
    63 NO_CACHE_RELATIONS = set( [('owned_by', 'object'),
    64                            ('owned_by', 'object'),
       
    65                            ('created_by', 'object'),
    64                            ('created_by', 'object'),
    66                            ('cw_source', 'object'),
    65                            ('cw_source', 'object'),
    67                            ])
    66                            ])
    68 
    67 
    69 def prefill_entity_caches(entity, relations):
    68 def prefill_entity_caches(entity, relations):