automatically acquire permissions