locked
How to create permission level so user can view list but not access individual list item? RRS feed

  • Question

  • I am displaying data from a custom list on a page by using a list view webpart. I want a group of users to be able to view this data on the page but I want to prevent them from opening an individual list item or navigating to the list item URL with ID: mysite.com/lists/mylist/DispForm.aspx?ID=1

    How can I do this? Thanks.

    Thursday, February 10, 2011 12:41 AM

Answers

  • Have you thought of audience targeting on the list or web part?

    http://office.microsoft.com/en-us/sharepoint-server-help/target-content-to-specific-audiences-HA010169053.aspx 


    Kris Wagner, MVP, MCITP, MCTS Twitter @sharepointkris Blog: http://www.sharepointkris.com/blog
    • Marked as answer by Emir Liu Tuesday, February 22, 2011 1:11 AM
    Friday, February 11, 2011 5:03 AM
    Moderator
  • Hi Choung Mi,

    You can modify the dispform.aspx page in SharePoint Designer (add something like you don’t have permission to view the detail) and add target audiences to the original List Form Web Part in dispform.aspx page by double click the web part in SPD. The target audiences option in under advance part or please add target audience in browse follow the reference Kris provided.


    Best regards. Emir
    • Marked as answer by Emir Liu Tuesday, February 22, 2011 1:11 AM
    Monday, February 14, 2011 3:11 AM

All replies

  • You can provide the list view where you will not have the LinkToItem field. So there is no option for users to click on the link and view the item.

    If you think your users are smart enough to type in the URL mysite.com/lists/mylist/DispForm.aspx?ID=1 randomly changing the ID then edit the Dispform.aspx & hide the default custom list webpart. Or create a blank aspx page using SP Designer & set it as your default dispform.

     

    Thanks

    Chanakya

    Thursday, February 10, 2011 9:27 AM
  • Thanks Chanakya. I have implemented your first suggestion without the Link To Item field.

    If I hide the default custom list webpart on dispform.aspx, and my user is smart enough to type in the URL with ID, will they get a blank page?

    Thursday, February 10, 2011 6:18 PM
  • Have you thought of audience targeting on the list or web part?

    http://office.microsoft.com/en-us/sharepoint-server-help/target-content-to-specific-audiences-HA010169053.aspx 


    Kris Wagner, MVP, MCITP, MCTS Twitter @sharepointkris Blog: http://www.sharepointkris.com/blog
    • Marked as answer by Emir Liu Tuesday, February 22, 2011 1:11 AM
    Friday, February 11, 2011 5:03 AM
    Moderator
  • Hi Choung Mi,

    You can modify the dispform.aspx page in SharePoint Designer (add something like you don’t have permission to view the detail) and add target audiences to the original List Form Web Part in dispform.aspx page by double click the web part in SPD. The target audiences option in under advance part or please add target audience in browse follow the reference Kris provided.


    Best regards. Emir
    • Marked as answer by Emir Liu Tuesday, February 22, 2011 1:11 AM
    Monday, February 14, 2011 3:11 AM