- Merge request !31Issue #3250675: Form alter triggers sitemap processing even if the user can't edit sitemaps β (Closed) created by richgerdes
During the form alter, simple sitemap first sets up the state, and parses the sitemaps to determine of the content type is used in a sitemap. Only after all this work, does it check if the user has access to edit sitemaps. On a large site, with multiple sitemap variations and a large number of entity types, this can cause an extra second of processing which is unnecessary for anonymous users.
Install simple_sitemap and domain_access modules. Add a few domains and create sitemap variations for the domains.
Check permissions before we start handling the entity type and sitemap variations.
Review Changes.
None.
None.
None.
Fixed
4.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.