Connecticut lawmakers have responded to the Newtown school shootings with tough gun safety legislation, and the state Judicial Branch is responding with two new databases designed to stop people with mental health problems from gaining access to firearms.

The goal is for law enforcement personnel — local, state and federal — to be able to quickly assess mental health histories when determining whether a person should be permitted to buy a gun or obtain a permit to carry one. This sort of information can already be obtained from the FBI. But the new databases should make the process quicker and the information available more complete.