Permission handler updated
Permission handler unit tests updated