Add limit to user preference actions
Last day, someone on the demo server set all the actions on the admin preference. This made impossible to login as admin as the client starts to open all the actions which consume a lot of resources.
I think it will be a good safety measure to set a limit for example 5 but make it configurable.