also check if person is registrated for the given application when
checking the permission