0

I have created a document library and given only specific users access. All other users see the Web Part Error: Access Denied. We don't want them to see the web part or the error. I thought that if they didn't have access, they just wouldn't see the web part.

1 Answer 1

0

Deactivate the Limited-access user permission lockdown mode feature under site collection features:

enter image description here

After that, the document library with restricted access is displayed as an empty library for users without permission on the page, and the error disappears:

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.