Attorney general's opinion helps open up government