1. A method for setting access permissions in a computer system, wherein an application executing in a computer system includes a permission query, wherein the permission query is presented to a user to obtain a response for setting an access permission, the method comprising: detecting that the permission query is being presented; and checking that a learning mode is active and, if so, then providing an automatic response to the permission query without requiring a response from a human user.