Skip to content

Roles

hypha.apply.users.roles

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')

ROLES_ORG_FACULTY module-attribute

Applicant

Bases: AbstractUserRole

role_name class-attribute instance-attribute

help_text class-attribute instance-attribute

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

available_permissions class-attribute instance-attribute

available_permissions = {}

Staff

Bases: AbstractUserRole

role_name class-attribute instance-attribute

role_name = STAFF_GROUP_NAME

help_text class-attribute instance-attribute

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

available_permissions class-attribute instance-attribute

available_permissions = {}

Reviewer

Bases: AbstractUserRole

role_name class-attribute instance-attribute

role_name = REVIEWER_GROUP_NAME

help_text class-attribute instance-attribute

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

available_permissions class-attribute instance-attribute

available_permissions = {}

StaffAdmin

Bases: AbstractUserRole

role_name class-attribute instance-attribute

help_text class-attribute instance-attribute

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

available_permissions class-attribute instance-attribute

available_permissions = {}

Partner

Bases: AbstractUserRole

role_name class-attribute instance-attribute

role_name = PARTNER_GROUP_NAME

help_text class-attribute instance-attribute

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

available_permissions class-attribute instance-attribute

available_permissions = {}

CommunityReviewer

Bases: AbstractUserRole

role_name class-attribute instance-attribute

help_text class-attribute instance-attribute

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

available_permissions class-attribute instance-attribute

available_permissions = {}

Approver

Bases: AbstractUserRole

role_name class-attribute instance-attribute

role_name = APPROVER_GROUP_NAME

help_text class-attribute instance-attribute

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

available_permissions class-attribute instance-attribute

available_permissions = {}

Finance

Bases: AbstractUserRole

role_name class-attribute instance-attribute

role_name = FINANCE_GROUP_NAME

help_text class-attribute instance-attribute

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

available_permissions class-attribute instance-attribute

available_permissions = {}

Contracting

Bases: AbstractUserRole

role_name class-attribute instance-attribute

help_text class-attribute instance-attribute

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

available_permissions class-attribute instance-attribute

available_permissions = {}