Scenario:
There is a SharePoint list with 2 different views -All Items.aspx, My Requests.aspx. The requirement is to hide the All Items view for normal users (All Items view should be visible only to a particular group of users).
In simple words, the current user should be able to see only the items created by self and the other users with high privileges should be able to see all the items irrespective of who created it.
The users can be restricted access to other items by setting the item level permissions for the list.
Go to List Settings->Advanced settings->Item Level Permissions
The other option is to hide the view by using javascript.
$('.classname').hide();
There is a SharePoint list with 2 different views -All Items.aspx, My Requests.aspx. The requirement is to hide the All Items view for normal users (All Items view should be visible only to a particular group of users).
In simple words, the current user should be able to see only the items created by self and the other users with high privileges should be able to see all the items irrespective of who created it.
The users can be restricted access to other items by setting the item level permissions for the list.
Go to List Settings->Advanced settings->Item Level Permissions
The other option is to hide the view by using javascript.
$('.classname').hide();
Comments
Post a Comment