- Issue created by @GuillaumePacilly
- Merge request !10Add frontendpublishing theme to user with edit right only → (Open) created by GuillaumePacilly
- 🇨🇭Switzerland pvbergen
I assume you refer to https://git.drupalcode.org/project/frontendpublishing/-/blame/3.x/fronte....
That's indeed an ugly hack, possibly originally related to the still existing core bug about max-age not properly bubbling up: https://www.drupal.org/project/drupal/issues/2352009 🐛 [pp-3] Bubbling of elements' max-age to the page's headers and the page cache Postponed
It might be possible to replace the max-age with a cache context on the user role, or the permission needed to use publishing/unpublishing/transitioning the page. It would either be the general permissions or the specific access to the rest resources defined in the module.