Closed hachreak closed 8 years ago
@hachreak in general they are still required by they should be populated using signals (see https://github.com/inveniosoftware/invenio/issues/3438).
Caching is happening on per-package basis (e.g. Invenio-Access).
Can we remove the precached values?
I found a message
compatibility layer only
. They are still necessary or we can simply remove them?I found they are used here:
564: auth_types = user_info.get('precached_allowed_deposition_types', set())
158: return type_ in current_user.get('precached_allowed_deposition_types', [])
61: current_user.get('precached_permitted_restricted_collections', []),
111: 'precached_permitted_restricted_collections', [])
20:<pre>{{ tfn_get_fieldvalues_alephseq_like(recid, [], current_user.get('precached_canseehiddenmarctags', False))|safe }}</pre>
1:{{ tfn_get_fieldvalues_alephseq_like(recid, [], current_user.get('precached_canseehiddenmarctags', False))|safe }}
@jirikuncar