In a Document/Form Library with versioning enabled (SP 2010), it is possible to delete all versions of a particular document/form simply by going to the "Version History" dialog box. This ability obviously could be unwelcome depending on business requirements for retaining sensitive data. How can I restrict the two link buttons to not be available to certain groups using SharePoint permissions or programmatically? Or just hide them in any way?

enter image description here

2 Answers 2


You can acheive this functionality by removing "DeleteVersions" permission from the Permission Level of a Group enter image description here

  • Can you please specify where these permissions can be found? Library settings?
    – Ryan Gates
    Commented Apr 1, 2015 at 16:19

https://{tenant}.sharepoint.com/sites/{siteid}/_layouts/15/role.aspx go on this link (add tenant and siteid). create a new permission group. Click on add a permission level. there you can find list of permissions. choose permissions as per your need and create a permission level. after creating permission level go on the follwing link. https://{tenant}.sharepoint.com/sites/{siteid}/_layouts/15/newgrp.aspx create a permission group and select the above created permission level in that group.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.