"Manage Permissions" is the essential menu item to manage the item level permissions. Client was also interested in it.
The document library was the only one which was misbehaving in the site.
After looking at various options, I realized that we can provide "Manage Permissions" link using Custom Action.
SharePoint Designer 2010 has made it very easy to create Custom Action. Custom Actions can be created to display the new/edit or display form, to initiate a workflow or to navigate to a url. Custom Actions also support URL tokens such as {ListId}. I just observed the "Manage Permissions" link in other document libraries and analyzed the URL with query string parameters.
"Manage Permissions" navigate to : _layouts/user.aspx (application page)
Query string comprises of obj (it has list id/GUID, item id and entity category), and list (it has list GUID).
URL looks like as below:
http://server/<weburl>/_layouts/user.aspx?obj=<list Id>,<item id>, LISTITEM&List=<list id>
Custom Actions support various URL tokens. I referred the below URL tokens.
- {ListId} --List Guid
- {ItemId} -- Item Guid
http://server/<weburl>/_layouts/user.aspx?obj={ListId},{ItemId},LISTITEM&List={ListId}
That's it! I named my custom action as "Manage Permissions". This is just a workaround. We will investiagate the reason behind misbehave and update the post.