Currently you need the administer site configuration permission to administer this module.
That permission is very powerful and is generally given to very few users so it is not ideal for use with this module, which is more the domain of a higher level content editor or low level site builder type role.
It is especially annoying to have to have a full site admin edit the block of content at the top of the site map.
This would also need an update script to assign the new permission to all roles that currently have the administer site configuration role.
Comments
Comment #2
pareshpatel commentedComment #3
pareshpatel commentedPlease find the attached patch for the same.
Comment #4
rooby commentedThanks for the patch.
In addition to that, there will need to be an update function to assign the new permission to any roles that currently have the 'administer site configuration' role to avoid breaking existing sites' permissions.
Comment #5
sagar ramgade commentedHi,
I have added a permission called "Administer site map" which can be assigned to roles to administer site map. I think this should be done for D8 too.
Comment #8
sagar ramgade commentedIt seems we need fix tests also, patch attached does that.
Comment #9
pareshpatel commented@rooby: Thanks for your feedback.
@Sagar: Thanks for your patch but it seems that you have missed the point#3 mentioned by rooby. If any roles have already assigned "Administer site configuration" permission then they do not have access of site configuration page.
Comment #10
pareshpatel commentedPlease find the attached updated patch. Update.php must run to set the permissions for roles having "Administer site configuration".
Comment #11
sagar ramgade commented@Paresh, the comment below seems to be corrected.
Comment #12
pareshpatel commentedComment has been corrected and re rolled the patch.
Comment #13
renatog commentedHi people.
I applied the patch and works good for me.
Before:

After:

P.s. Point in #11 was fixed.
Good Work.
Regards.
Comment #15
renatog commentedFixed.
Commited in dev branch.
Thank you very much people.
Good Work.
Regards.