Permissions
hypha.apply.projects.permissions
¶
permissions_map
module-attribute
¶
permissions_map = {'contract_approve': can_approve_contract, 'contract_upload': can_upload_contract, 'paf_status_update': can_update_paf_status, 'paf_approvers_update': can_update_paf_approvers, 'paf_approvers_assign': can_assign_paf_approvers, 'update_paf_assigned_approvers': can_update_assigned_paf_approvers, 'project_status_update': can_update_project_status, 'project_reports_update': can_update_project_reports, 'report_update': can_update_report, 'report_config_update': can_update_report_config, 'report_view': can_view_report, 'submit_contract_documents': can_submit_contract_documents, 'project_access': can_access_project, 'paf_edit': can_edit_paf, 'view_contract_documents': can_view_contract_category_documents}
has_permission
¶
Source code in hypha/apply/projects/permissions.py
can_approve_contract
¶
Source code in hypha/apply/projects/permissions.py
can_upload_contract
¶
Source code in hypha/apply/projects/permissions.py
can_submit_contract_documents
¶
Source code in hypha/apply/projects/permissions.py
can_update_paf_approvers
¶
Source code in hypha/apply/projects/permissions.py
can_update_assigned_paf_approvers
¶
Only for Approvers teams members(with PAFReviewerRoles' user_roles' users) UpdateAssignApproversView will be used by only approvers teams members.