I have a custom document library which is based on default document library. I'd like to disable Edit physical document for some of the documents depending on 开发者_运维知识库their property.
If you don't mind a client side solution then you can use either a single Content Editor Web Part to inject some JavaScript on a single page or execute the script on every page in the site collection using our free SharePoint Infuser.
Plenty of examples, although not your particular problem, can be found here.
精彩评论