Hi,
After lot of "googling" I found a simple solution. It works!!
I simply tried to override the function which navigates to the Manage Permissions page and display an alert :
<script type="text/javascript">
var intervalId2 = setInterval("OverrideOpenFuncs2()", 1000);
function OverrideOpenFuncs2()
{
NavigateToManagePermsPage = function (strHttpRoot, strListId,
strFileRef)
{
alert('This Library does not support managing permissions.');
}
}
setTimeout("window.clearInterval(intervalId2);", 10000);
</script>
I would like to thank JayInCa for posting this simple solution.
http://social.technet.microsoft.com/Forums/en-US/sharepointadmin/thread/26c120d7-fbd0-41ff-b46f-f7dd0bb2a396[
^]