SONAR-4463 Added permission DAO and associated unit tests