Query all packages permission