hide Document library or no access don't need

martinn tan 0 Reputation points
2023-05-08T14:16:21.6933333+00:00

Hi All,

I had a SharePoint site which allows all domain users to have read access to the site. however, under document library user A able to see all the document library on the left panel.

Question: how do I hide the document library if User A don't have access to the document library? can this be done or what is the work around. Appreciate any input.

Thank you

SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
7,126 questions
SharePoint Development
SharePoint Development
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Development: The process of researching, productizing, and refining new or existing technologies.
1,983 questions
SharePoint Server Management
SharePoint Server Management
SharePoint Server: A family of Microsoft on-premises document management and storage systems.Management: The act or process of organizing, handling, directing or controlling something.
2,511 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Yanli Jiang - MSFT 11,081 Reputation points Microsoft Vendor
    2023-05-09T09:42:49.6833333+00:00

    Hi @martinn tan ,

    If you don't want users to see a certain library in the left panel, you only need to perform the permission operation.

    Settings-->Library settings-->Permissions for this document library(under Permissions and Management section)-->Stop inheriting Permissions, select users who you do not want to see this library, select Remove User Permissions. In this way, the user cannot access the library, and naturally cannot see the library in the left panel.

    For my test, below Amy Jiang is site owner, he can see library1 in the left panel.

    05093

    Amy test has read permission for this site. And when I remove the permission for library1, he cannot see the library1 in the left panel.

    05095


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.