SPWeb.AllowRevertFromTemplateForCurrentUser property
SharePoint 2013
A Boolean value that specifies whether the current user is allowed to revert the site from the template.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)