Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hello,
could it be possible to add a permission to allow specific role to change xml sitemap settings for own content ? For example this could be useful in combination with metatag module, when setting the content to noindex and at the same time removing it from xml sitemap. Right now, only role with global xml sitemap permission can change it.
Best regards, Edin
Comment | File | Size | Author |
---|---|---|---|
#3 | edit-xml-sitemap-settings-on-own-content-2199665-3.patch | 1.28 KB | Tess Bakker |
Comments
Comment #1
Tess BakkerHere is the patch.
You still need to setup cron for rebuilding your sitemap.
Let me know if there are any issues with this patch.
Comment #3
Tess BakkerLittle fix for backward compatibility
Comment #4
Tess BakkerComment #5
Tess BakkerComment #6
SpadXIII CreditAttribution: SpadXIII at ezCompany commentedWe're using this patch for several sites now. It works as designed.
Comment #7
renatogHi people.
I applied the patch and works good for me.
Thank you very much.
Comment #9
renatogFixed.
Committed to the dev branch.
Thank you very much for your contribution, Tessa.
Regards.