Sorry you dont have access to this page while editing page in SharePoint 2013

Sorry you dont have access to this page while editing page in SharePoint 2013
InfoPath alternatives for form designing SharePoint

In this post we will discuss how we can resolve one SharePoint 2013 error “Sorry, you don’t have access to this page”. Or sometime you also get message like “Sorry, this site hasn’t been shared with you”. Just to let you know that this error we got while working in a Moss 2007 to SharePoint 2013. In one of the site collection we have number of sub sites, users (having more than contribute access) can able to visit sub sites but when then try to edit the page they got the below error:

Sorry, you don’t have access to this page.

Sorry you dont have access to this page while editing page in SharePoint 2013
Sorry you dont have access to this page while editing page in SharePoint 2013

But for few users they were able to edit.

Also read:
– Force UndoCheckout or checkin using PowerShell in SharePoint 2013

– SharePoint 2013 Distributed Cache service

– Enable Design Manager in SharePoint 2013 Team Site

Solution:
As the name suggest, we need to first check the permission of the user. And also one more thing you can check if you have migrated from Moss 2007 to SharePoint 2013 is that if users are converted to claims or not. If not you can check out this article to convert users to claims.

When we put the id into the Site collection administrator they are able to edit the page.

After doing some analysis we saw that some unique permission was given to various document libraries like Style Library, Master Page and Page Layouts document library. Removing unique permission from these two libraries help solving the issue.

Remove Permission from Master pages and page layouts Gallery:

Navigate to the Site Collection Settings. Go to Settings -> Site Settings. Then in the Site Settings Page click on “Master pages and page layouts” under “Web Designer Galleries” section. If you do not see “Master pages and page layouts” option then you need to activate Publishing feature. You can check out this article to know how to activate publishing feature using PowerShell in SharePoint 2013.

Once the document library opened, go to the Library Settings (from Ribbon), then click on “Permissions for this document library” under “Permissions and Management” section. There from the Ribbon click on “Delete unique permissions” under PERMISSIONS tab in Ribbon like below:

Sorry you dont have access to this page while editing page in SharePoint 2013
Sorry you dont have access to this page while editing page in SharePoint 2013

Make sure it should inherit from parent site or if you required to give unique permission then give the permission here.

Also you can go to the Site contents page and search for Style library and go tot he library settings and check the permission there and see if it has any unique permission.

Apart from that also you can check the Device Channels library permission. Go to Site Settings, then in the site settings page click on “Device Channels” under Look and Feel. This will open the Device Channels library, there you can go to the library settings and check the permission. If it has unique permission then you have to follow the above steps.

Hope this will be helpful.

Similar SharePoint 2013 Tutorials

About Bijay Kumar

I am Bijay from Odisha, India. Currently working in my own venture TSInfo Technologies in Bangalore, India. I am Microsoft Office Servers and Services (SharePoint) MVP (5 times). I works in SharePoint 2016/2013/2010, SharePoint Online Office 365 etc. Check out My MVP Profile.. I also run popular SharePoint web site SharePointSky.com

View all posts by Bijay Kumar →

Leave a Reply