- Issue created by @davidhk
- 🇳🇿New Zealand quietone
Changes are made on on 11.x (our main development branch) first, and are then back ported as needed according to the Core change policies → .
If I look at the cache entries created in cache_render for the local tasks block on the media entity's page, the format of the Cache ID (cid) changes between D9 and D10 for user2, which may be a clue.
On the D9 version of our site, the cid for both users' cache entries follows the same format:
user1: cid=entity_view:block:gwulo_bartik_local_tasks:[languages:language_interface]=en:[route]=entity.media.canonical34c740ab870626d71720c57080a0e2f51a312008736b4ff30c26f559b09248c9:[theme]=gwulo_bartik:[user]=333486
user2: cid=entity_view:block:gwulo_bartik_local_tasks:[languages:language_interface]=en:[route]=entity.media.canonical34c740ab870626d71720c57080a0e2f51a312008736b4ff30c26f559b09248c9:[theme]=gwulo_bartik:[user]=345
On the D10 version of our site, the cid created when user1, the creator of the media entity, visits that entity's page is the same as it was on D9, but for user2 it now ends with [user.permissions]= instead of [user]=
user1: cid=entity_view:block:gwulo_bartik_local_tasks:[languages:language_interface]=en:[route]=entity.media.canonical34c740ab870626d71720c57080a0e2f51a312008736b4ff30c26f559b09248c9:[theme]=gwulo_bartik:[user]=333486
user2: cid=entity_view:block:gwulo_bartik_local_tasks:[languages:language_interface]=en:[route]=entity.media.canonical34c740ab870626d71720c57080a0e2f51a312008736b4ff30c26f559b09248c9:[theme]=gwulo_bartik:[user.permissions]=aZUlEhtP7-L6slUFK8dbCULl3Dpcui86eEIY_gCUy_E
Disclaimer: These are copied from our full site which has custom code, but I can't think of any changes made during the D9-D10 upgrade that would cause the differences in cid shown above.