It gives Queensland police the right to search people for weapons in safe night precincts and public transport hubs.