Changeset 13100 for main/waeup.kofa/trunk/docs
- Timestamp:
- 25 Jun 2015, 12:41:57 (10 years ago)
- Location:
- main/waeup.kofa/trunk/docs/source/userdocs
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/docs/source/userdocs/applicants/browser.rst
r13099 r13100 4 4 ============ 5 5 6 The `ApplicantRegistrationPage` allows t wo register in create or in6 The `ApplicantRegistrationPage` allows to register in create or in 7 7 update mode, depending on the 8 8 :ref:`mode of its context<application_mode>`, i.e. the applicants … … 17 17 yield a result, the flash message: 'No application record found' is 18 18 returned. The anonymous user will not know, if the registration 19 number does not exist , or the provided lastname does not match. A20 third ``if`` statement checks whether the password has already been 21 set and used, i.e. the the application has already been started. If 22 s o, the anonymous user is being requested to proceed to the login23 page.19 number does not exist or the provided lastname does not match. 20 Another ``if`` statement checks whether the password has already 21 been set and used, i.e. the the application has already been 22 started. If so, the anonymous user can't register again and is being 23 requested to proceed to the login page. 24 24 25 25 In both registration modes a randomly generated password is set and … … 38 38 39 39 40 .. _form_locking: 41 42 Form Locking 43 ============ 44 45 We already mentioned regular :ref:`page_locking` mechanisms. The 46 `ApplicantEditFormPage` has two additional locks. One is the same 47 named applicant attribute `locked`. Applicants can only enter the 48 edit page if their record is 'unlocked'. Locking and unlocking is 49 automatically done by workflow event handlers. By default, the 50 record is unlocked. Only when the applicant submits the record, it 51 is being locked, which means the attribute is set ``True`` and the 52 data can no longer be edited. 53 54 The reader may wonder why Kofa is not using the workflow state 55 instead. The additional locking mechanism allows officers to unlock 56 and lock forms without triggering workflow transitions. A transition 57 is always a major, and sometimes inappropriate intervention which is 58 also recorded in the application history. 59 60 Use case: An applicant has made a mistake and requests a change of 61 submitted data. An officer accepts the change, temporarily unlocks 62 the form to allow editing the data. Unlocking and re-locking is 63 logged in ``applicants.log`` but not shown on pages or the 64 application slip. 65 66 The second lock is induced by the application deadline. If the 67 application period has expired and the applicants container's 68 `strict_deadline` attribute is set, the applicant is also not 69 allowed to edit or even submit the form. 70 71 .. note:: 72 73 A locked-out applicant can still login and access the display pages 74 of the recod and also download payment and application slips. To 75 expell an applicant from the portal, the account has to be suspended 76 by setting the same-named attribute. 77 78 40 79 .. _applicant_payment_tickets: 41 80 … … 43 82 ======= 44 83 84 In contrast to the students section, there is no 85 `PaymentsManageFormPage` to handle payment tickets separately. 86 Payment tickets can be viewed, added and removed directly on the 87 applicant manage and edit form pages. Officers can remove all 88 payment tickets, applicants only those without a response code 89 (`r_code`) and, if the form is unlocked, so that they are allowed to 90 edit their data. 91 92 As already mentioned in the workflow chapter, making a payment and 93 redeeming a payment is done in one step. When the payment was 94 successful or has been approved, also the applicant is automatically 95 set to state ``paid``. There is no need to redeem the ticket 96 manually. 45 97 46 98 -
main/waeup.kofa/trunk/docs/source/userdocs/browsing.rst
r13098 r13100 98 98 :py:class:`HandleStudent<waeup.kofa.students.permissions.HandleStudent>` 99 99 permission and a `ManageFormPage` requires the 100 :py:class:`ManageApplication<waeup.kofa.applicants.permissions.ManageApplication>` 101 / 100 102 :py:class:`ManageStudent<waeup.kofa.students.permissions.ManageStudent>` 101 103 permission. 102 104 105 106 .. _page_locking: 107 108 Page Locking 109 ============ 110 111 As mentiond above, the right to use a form depends on the 112 permissions the user gained. But this is not sufficient. Applicants 113 and students always have the permission to handle their data 114 although they are not allowed to edit the data all the time. The 115 access to forms has to be further restricted. This is always done in 116 the `update` method of a page. If an applicant or student doesn't 117 meet the additional conditions defined in this method, s/he is 118 immediately thrown out and redirected to another page. In most cases, 119 the allowance to modify data depends on the workflow state of an 120 applicant or student. 103 121 104 122
Note: See TracChangeset for help on using the changeset viewer.