public bool RecordSnippetLock(Guid currentUserID)
{
bool bLock = this.IsLocked;
bool bRet = false;
if (!bLock) {
ExtendedUserData usr = new ExtendedUserData(currentUserID);
//only allow admin/editors to record a lock
if (usr.IsAdmin || usr.IsEditor) {
bRet = true;
RecordHeartbeatLock(currentUserID);
}
}
return bRet;
}