public bool RecordPageLock(Guid rootContentID, Guid siteID, Guid currentUserID)
{
bool bLock = IsPageLocked(rootContentID, siteID, currentUserID);
bool bRet = false;
if (!bLock) {
ExtendedUserData usr = new ExtendedUserData(currentUserID);
//only allow admin/editors to record a lock
if (usr.IsAdmin || usr.IsEditor) {
bRet = RecordHeartbeatLock(rootContentID, siteID, currentUserID);
}
}
return bRet;
}