Ignore:
Timestamp:
25 Jun 2015, 12:41:57 (9 years ago)
Author:
Henrik Bettermann
Message:

More docs.

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  
    44============
    55
    6 The `ApplicantRegistrationPage` allows two register in create or in
     6The `ApplicantRegistrationPage` allows to register in create or in
    77update mode, depending on the
    88:ref:`mode of its context<application_mode>`, i.e. the applicants
     
    1717yield a result, the flash message: 'No application record found' is
    1818returned. The anonymous user will not know, if the registration
    19 number does not exist, or the provided lastname does not match. A
    20 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 so, the anonymous user is being requested to proceed to the login
    23 page.
     19number does not exist or the provided lastname does not match.
     20Another ``if`` statement checks whether the password has already
     21been set and used, i.e. the the application has already been
     22started. If so, the anonymous user can't register again and is being
     23requested to proceed to the login page.
    2424
    2525In both registration modes a randomly generated password is set and
     
    3838
    3939
     40.. _form_locking:
     41
     42Form Locking
     43============
     44
     45We already mentioned regular :ref:`page_locking` mechanisms. The
     46`ApplicantEditFormPage` has two additional locks. One is the same
     47named applicant attribute `locked`. Applicants can only enter the
     48edit page if their record is 'unlocked'. Locking and unlocking is
     49automatically done by workflow event handlers. By default, the
     50record is unlocked. Only when the applicant submits the record, it
     51is being locked, which means the attribute is set ``True`` and the
     52data can no longer be edited.
     53
     54The reader may wonder why Kofa is not using the workflow state
     55instead. The additional locking mechanism allows officers to unlock
     56and lock forms without triggering workflow transitions. A transition
     57is always a major, and sometimes inappropriate intervention which is
     58also recorded in the application history.
     59
     60Use case: An applicant has made a mistake and requests a change of
     61submitted data. An officer accepts the change, temporarily unlocks
     62the form to allow editing the data. Unlocking and re-locking is
     63logged in ``applicants.log`` but not shown on pages or the
     64application slip.
     65
     66The second lock is induced by the application deadline. If the
     67application period has expired and the applicants container's
     68`strict_deadline` attribute is set, the applicant is also not
     69allowed 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
    4079.. _applicant_payment_tickets:
    4180
     
    4382=======
    4483
     84In contrast to the students section, there is no
     85`PaymentsManageFormPage` to handle payment tickets separately.
     86Payment tickets can be viewed, added and removed directly on the
     87applicant manage and edit form pages. Officers can remove all
     88payment tickets, applicants only those without a response code
     89(`r_code`) and, if the form is unlocked, so that they are allowed to
     90edit their data.
     91
     92As already mentioned in the workflow chapter, making a payment and
     93redeeming a payment is done in one step. When the payment was
     94successful or has been approved, also the applicant is automatically
     95set to state ``paid``. There is no need to redeem the ticket
     96manually.
    4597
    4698
  • main/waeup.kofa/trunk/docs/source/userdocs/browsing.rst

    r13098 r13100  
    9898:py:class:`HandleStudent<waeup.kofa.students.permissions.HandleStudent>`
    9999permission and a `ManageFormPage` requires the
     100:py:class:`ManageApplication<waeup.kofa.applicants.permissions.ManageApplication>`
     101/
    100102:py:class:`ManageStudent<waeup.kofa.students.permissions.ManageStudent>`
    101103permission.
    102104
     105
     106.. _page_locking:
     107
     108Page Locking
     109============
     110
     111As mentiond above, the right to use a form depends on the
     112permissions the user gained. But this is not sufficient. Applicants
     113and students always have the permission to handle their data
     114although they are not allowed to edit the data all the time. The
     115access to forms has to be further restricted. This is always done in
     116the `update` method of a page. If an applicant or student doesn't
     117meet the additional conditions defined in this method, s/he is
     118immediately thrown out and redirected to another page. In most cases,
     119the allowance to modify data depends on the workflow state of an
     120applicant or student.
    103121
    104122
Note: See TracChangeset for help on using the changeset viewer.