Forum Discussion

Fizd9's avatar
Fizd9
Copper Contributor
Aug 28, 2018

Access denied on Modern page using Library web part

 

Just checking to see if anyone else is affected by this in their tenants. We're currently having a lot of trouble [on all modern pages; Communication sites and O365 Group Team sites] where site Members, after about 2 seconds are being redirected to the "Sorry, you don't have access" page.

So far we've managed to trace this to the following scenario:
If a page contains the library web part, as seen below, and one of the libraries has custom permissions (such as the Restrictive doc library in this example, where only Site Owners have access, not Site Members)…


The following happens when a Site Member logs in and navigates to the same page…

 

 

The user sees the above image for about 2 seconds, only to be redirected to the "Sorry, you don't have access" page!

 

...Now, if we remove the Library web part for “Restrictive doc library” entirely from the page, and the same Site Member-user tries to log in and access the page… the problem is gone and the user can navigate the page like normal.

 

 

Thoughts on this matter? Thanks!

2 Replies

  • nick_trinidad's avatar
    nick_trinidad
    Copper Contributor

    Hi Thijs, did you get this issue resolved ?  We've started experiencing the same just recently.  It used to just show the Access Denied image on the restricted library so the user is still able to use the non restricted one.

    • Fizd9's avatar
      Fizd9
      Copper Contributor
      Hi Nick,

      We are still experiencing this issue. Being redirected to another page that is.

Resources