1. A method for designing web applications, comprising: providing a design interface for receiving information specifying user actions for creating an application with different user groups and access rights, the design interface operable to specify an action to include to a page of the application, wherein the action, when invoked during execution of the application, modifies the application state; receiving in the design interface an action specification, which specifies that the action invoked by a user during execution of the application will cause a modification of one or more access rights of one or more affected users, wherein the one or more access rights include an access right for accessing pages in the application, an access right for accessing records in the application and an access right for executing actions in the application; and using the design interface to generate the application that implements the action specification; wherein providing the design interface to create the application comprises: providing an enumeration of a group of action patterns; and receiving an input that specifies at least one of the actions using an action pattern from the group of action patterns, wherein the action pattern provides default values for the action specification.