Patent ID: 8689281

Claim:
A method comprising: obtaining input to modify a policy of a set of context-aware document policies, the policy of the set being applicable to a requested action on a document so as to indicate allowability of the requested action based at least on satisfaction of a condition of the policy that relates to a content of the document, and when a plurality of policies of the set are applicable to the requested action on the document, allowability of the requested action being determined by allowability that is indicated by application of the applicable policy with a highest priority; modifying the policy based on the input and comparing the modified policy with an other policy of the set; in response to a determination that the comparison indicates the modified policy and the other policy are applicable to a single requested action on a single document, automatically ensuring that the set of policies remains self-consistent, wherein automatically ensuring that the set of policies remains self-consistent comprises: generating an example of performance of the single requested action on an example of a document; and in response to a determination that the comparison indicates mutually contradictory allowability, ensuring that different priorities are assigned to the modified policy and the other policy by: receiving a user input that indicates a preferred allowability based on the example of performance; and assigning a higher priority to either the modified policy or the other policy based on the user input.