@@ -0,0 +1,882 @@
+from accelerator.models import User, UserRole%0Afrom impact.v1.helpers.model_helper import (%0A    ModelHelper,%0A    READ_ONLY_OBJECT_FIELD,%0A)%0A%0AUSER_FIELDS = %7B%0A    'program_confirmation': READ_ONLY_OBJECT_FIELD,%0A%7D%0A%0A%0Aclass UserProgramConfirmationHelper(ModelHelper):%0A    model = User%0A    @classmethod%0A    def fields(cls):%0A        return USER_FIELDS%0A%0A    def get_user_program_participation_for_role(self, user_role=None):%0A        return list(%0A            self.subject.programrolegrant_set.filter(%0A                program_role__user_role__name=user_role,%0A            ).values_list('program_role__program', flat=True).distinct())%0A%0A    @property%0A    def program_confirmation(self):%0A        return %7B%0A            'deferred': self.get_user_program_participation_for_role(UserRole.DEFERRED_MENTOR),%0A            'confirmed': self.get_user_program_participation_for_role(UserRole.MENTOR)%0A        %7D%0A

add helper for program confirmation view