Details
-
Type: New Feature
-
Status: Done/Fixed
-
Priority: Major
-
Resolution: Fixed/Completed
-
Affects Version/s: None
-
Fix Version/s: Quest-PA
-
Component/s: None
-
Labels:None
Description
Quest staff need the ability to either view or edit the preapp forms for any "student". This access will be permission based. Users with "view contact" permission for the requested student-contact record can view the preapplication form data (all form fields frozen). Users with "edit contact" permission for the requested student-contact record can either view OR edit the form data.
1. Modify Invoke for civicrm/quest/preapp path as follows:
1.1 Introduce a 'mode' value for accessing the preapp form and set default mode = 'edit'
1.2 Check for id= GET param. If present, this is the (student) contact_id to be loaded into the preapp forms.
1.3 Check for mode= param. Valid values are 'edit' or 'view'
1.4 Validate permission on requested contact and mode
- If insufficient permissions - return our standard "insufficient permissions..." status message.
- Else - load preapp form.
2. Implement mode=view for preapp forms. In this mode, all form fields are frozen.
NOTE: We will add "view application" and "edit application" links to the Quest search result selectors as a separate issue. For now, access to this functionality is by setting the URL only.