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

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Tess Bakker’s picture

Status: Active » Needs review
FileSize
1.25 KB

Here is the patch.

You still need to setup cron for rebuilding your sitemap.

Let me know if there are any issues with this patch.

Status: Needs review » Needs work

The last submitted patch, 1: edit-xml-sitemap-settings-on-own-content-2199665-1.patch, failed testing.

Tess Bakker’s picture

Little fix for backward compatibility

Tess Bakker’s picture

Status: Needs work » Needs review
Tess Bakker’s picture

SpadXIII’s picture

Status: Needs review » Reviewed & tested by the community

We're using this patch for several sites now. It works as designed.

renatog’s picture

Hi people.

I applied the patch and works good for me.

Thank you very much.

  • RenatoG committed 7161596 on 7.x-2.x authored by Tessa Bakker
    Issue #2199665 by Tessa Bakker, RenatoG, edin.dedagic, SpadXIII: Edit...
renatog’s picture

Status: Reviewed & tested by the community » Fixed

Fixed.

Committed to the dev branch.

Thank you very much for your contribution, Tessa.

Regards.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.