Skip to content

Groups

hypha.apply.users.groups

SUPERADMIN module-attribute

SUPERADMIN = gettext_lazy('Administrator')

APPLICANT_GROUP_NAME module-attribute

APPLICANT_GROUP_NAME = gettext_lazy('Applicant')

STAFF_GROUP_NAME module-attribute

STAFF_GROUP_NAME = gettext_lazy('Staff')

REVIEWER_GROUP_NAME module-attribute

REVIEWER_GROUP_NAME = gettext_lazy('Reviewer')

TEAMADMIN_GROUP_NAME module-attribute

TEAMADMIN_GROUP_NAME = gettext_lazy('Staff Admin')

PARTNER_GROUP_NAME module-attribute

PARTNER_GROUP_NAME = gettext_lazy('Partner')

COMMUNITY_REVIEWER_GROUP_NAME module-attribute

COMMUNITY_REVIEWER_GROUP_NAME = gettext_lazy('Community reviewer')

APPROVER_GROUP_NAME module-attribute

APPROVER_GROUP_NAME = gettext_lazy('Approver')

FINANCE_GROUP_NAME module-attribute

FINANCE_GROUP_NAME = gettext_lazy('Finance')

CONTRACTING_GROUP_NAME module-attribute

CONTRACTING_GROUP_NAME = gettext_lazy('Contracting')

APPLICANT_HELP_TEXT module-attribute

APPLICANT_HELP_TEXT = gettext_lazy('Can access their own application and communicate via the communication tab.')

STAFF_HELP_TEXT module-attribute

STAFF_HELP_TEXT = gettext_lazy('View and edit all submissions, submit reviews, send determinations, and set up applications.')

REVIEWER_HELP_TEXT module-attribute

REVIEWER_HELP_TEXT = gettext_lazy('Has a dashboard and can submit reviews. Advisory Council Members are typically assigned this role.')

TEAMADMIN_HELP_TEXT module-attribute

TEAMADMIN_HELP_TEXT = gettext_lazy('Can view application message log. Must also be in group Staff.')

PARTNER_HELP_TEXT module-attribute

PARTNER_HELP_TEXT = gettext_lazy('Can view, edit, and comment on a specific application they are assigned to.')

COMMUNITY_REVIEWER_HELP_TEXT module-attribute

COMMUNITY_REVIEWER_HELP_TEXT = gettext_lazy('An applicant with access to other applications utilizing the community/peer review workflow.')

APPROVER_HELP_TEXT module-attribute

APPROVER_HELP_TEXT = gettext_lazy('Can review/approve PAF, and access compliance documents. Must also be in group: Staff, Contracting, or Finance.')

FINANCE_HELP_TEXT module-attribute

FINANCE_HELP_TEXT = gettext_lazy('Can review/approve the PAF, access documents associated with contracting, and access invoices approved by Staff.')

CONTRACTING_HELP_TEXT module-attribute

CONTRACTING_HELP_TEXT = gettext_lazy('Can review/approve the PAF and access documents associated with contracting.')

GROUPS module-attribute

GROUPS = [{'name': APPLICANT_GROUP_NAME, 'permissions': [], 'help_text': APPLICANT_HELP_TEXT}, {'name': STAFF_GROUP_NAME, 'permissions': [], 'help_text': STAFF_HELP_TEXT}, {'name': REVIEWER_GROUP_NAME, 'permissions': [], 'help_text': REVIEWER_HELP_TEXT}, {'name': TEAMADMIN_GROUP_NAME, 'permissions': [], 'help_text': TEAMADMIN_HELP_TEXT}, {'name': PARTNER_GROUP_NAME, 'permissions': [], 'help_text': PARTNER_HELP_TEXT}, {'name': COMMUNITY_REVIEWER_GROUP_NAME, 'permissions': [], 'help_text': COMMUNITY_REVIEWER_HELP_TEXT}, {'name': APPROVER_GROUP_NAME, 'permissions': [], 'help_text': APPROVER_HELP_TEXT}, {'name': FINANCE_GROUP_NAME, 'permissions': [], 'help_text': FINANCE_HELP_TEXT}, {'name': CONTRACTING_GROUP_NAME, 'permissions': [], 'help_text': CONTRACTING_HELP_TEXT}]