BACKGROUND

The present invention relates to document management, and more particularly to controlling unexpected document edits.

Cloud-based document management and sharing systems are increasing in popularity and becoming the standard approach for how people in large organizations share content and collaborate on projects. Because a large team of people working on a project may be editing the same document, there may be a significant number of versions of the document. For example, tens of people on a team that is planning a conference may be editing the same documents, where the editing causes some of those documents to have thousands of versions.

SUMMARY

In one embodiment, the present invention provides a computer-implemented method. The method includes determining, by one or more processors, that an edit of content is being performed by a user. The method further includes determining, by the one or more processors, a criticality score of the content by using a natural language processing technique. The criticality score indicates a measure of sensitivity of the content. The method further includes identifying, by the one or more processors, a behavior of the user while editing the content. The method further includes determining, by the one or more processors, a measure of deviation between the behavior of the user and a pattern of historical behavior of one or more users while the one or more users edited the content. The method further includes based on the criticality score and the measure of the deviation between the behavior of the user and the pattern of historical behavior, determining, by the one or more processors, an edit risk score. The edit risk score indicates a probability that the edit of the content is an unexpected edit of the content. The method further includes determining, by the one or more processors, that the edit risk score exceeds a threshold score. The method further includes responsive to determining that the edit risk score exceeds the threshold score, transmitting, by the one or more processors, an alert to the user indicating to the user that the edit of the content is the unexpected edit.

In another embodiment, the present invention provides a computer program product which includes a computer readable storage medium having computer readable program code stored on the computer readable storage medium. The computer readable program code is executed by a central processing unit (CPU) of a computer system to cause the computer system to perform a method. The method includes the computer system determining that an edit of content is being performed by a user. The method further includes the computer system determining a criticality score of the content by using a natural language processing technique. The criticality score indicates a measure of sensitivity of the content. The method further includes the computer system identifying a behavior of the user while editing the content. The method further includes the computer system determining a measure of deviation between the behavior of the user and a pattern of historical behavior of one or more users while the one or more users edited the content. The method further includes determining an edit risk score. The edit risk score indicates a probability that the edit of the content is an unexpected edit of the content. The method further includes the computer system determining that the edit risk score exceeds a threshold score. The method further includes responsive to determining that the edit risk score exceeds the threshold score, the computer system transmitting an alert to the user indicating to the user that the edit of the content is the unexpected edit.

In another embodiment, the present invention provides a computer system including a central processing unit (CPU); a memory coupled to the CPU; and a computer readable storage medium coupled to the CPU. The computer readable storage medium contains instructions that are executed by the CPU via the memory to implement a method. The method includes the computer system determining that an edit of content is being performed by a user. The method further includes the computer system determining a criticality score of the content by using a natural language processing technique. The criticality score indicates a measure of sensitivity of the content. The method further includes the computer system identifying a behavior of the user while editing the content. The method further includes the computer system determining a measure of deviation between the behavior of the user and a pattern of historical behavior of one or more users while the one or more users edited the content. The method further includes determining an edit risk score. The edit risk score indicates a probability that the edit of the content is an unexpected edit of the content. The method further includes the computer system determining that the edit risk score exceeds a threshold score. The method further includes responsive to determining that the edit risk score exceeds the threshold score, the computer system transmitting an alert to the user indicating to the user that the edit of the content is the unexpected edit.

