Implemented PermissionValidator class