[12829] | 1 | .. _configuration: |
---|
| 2 | |
---|
[13118] | 3 | Portal Configuration |
---|
[13120] | 4 | ******************** |
---|
[13118] | 5 | |
---|
| 6 | There are many places in Kofa where portal parameters can be set or |
---|
| 7 | page descriptions can be added. These parameters are attributes of |
---|
| 8 | either dedicated configuration objects or of containers in the |
---|
[13120] | 9 | academics, applicants or data center sections. The latter have been |
---|
| 10 | described elsewehere. Here we explain the interfaces of the |
---|
| 11 | configuration section. |
---|
[13118] | 12 | |
---|
| 13 | Technically speaking, the portal configuration section is a |
---|
| 14 | container of type `ConfigurationContainer` with id ``configuration`` |
---|
[13120] | 15 | which contains session configuration subobjects:: |
---|
[13118] | 16 | |
---|
| 17 | |
---|
| 18 | Portal Configuration (ConfigurationContainer) |
---|
| 19 | | |
---|
| 20 | +--->SessionConfiguration |
---|
| 21 | |
---|
| 22 | Much like ``academics``, ``students``, ``applicants``, ``hostels`` |
---|
| 23 | and ``documents``, also ``configuration`` is a unique container |
---|
| 24 | which is located in the `IUniversity` instance. |
---|
| 25 | |
---|
| 26 | Site Settings |
---|
[13120] | 27 | ============= |
---|
[13118] | 28 | |
---|
[13120] | 29 | Site parameters are the attributes of the configuration container to |
---|
| 30 | be set via the `ConfigurationContainerManageFormPage`. The page |
---|
| 31 | opens, if an officer with |
---|
[13118] | 32 | :py:class:`ManagePortalConfiguration<waeup.kofa.permissions.ManagePortalConfiguration>` |
---|
| 33 | permission clicks the 'Portal Configuration' link in the side box. |
---|
| 34 | |
---|
[13120] | 35 | The `ConfigurationContainer` class implements exactly one interface: |
---|
| 36 | |
---|
| 37 | |
---|
[13118] | 38 | .. literalinclude:: ../../../src/waeup/kofa/interfaces.py |
---|
| 39 | :pyobject: IConfigurationContainer |
---|
| 40 | |
---|
[13120] | 41 | The page furthermore lists containing session configuration objects |
---|
| 42 | and allows to add them. |
---|
[13118] | 43 | |
---|
| 44 | Session Settings |
---|
[13120] | 45 | ================ |
---|
[13118] | 46 | |
---|
[13120] | 47 | Session parameters are the attributes of session configuration |
---|
| 48 | objects. These parameters may vary between academic sessions. |
---|
| 49 | Particularly student fees, which often vary from one session to the |
---|
| 50 | next, can be configured here, if the portal has been customized |
---|
| 51 | accordingly, see :ref:`customization` below. The session |
---|
| 52 | configuration objects also serve to: |
---|
[13118] | 53 | |
---|
[13120] | 54 | - disable student payments for certain payment categories and |
---|
| 55 | subgroups of students |
---|
[13118] | 56 | |
---|
[13120] | 57 | See also `Disable Payment Groups |
---|
| 58 | <https://kofa-demo.waeup.org/sources#collapseDisablePaymentGroups>`_ |
---|
| 59 | in the base package. |
---|
[13118] | 60 | |
---|
[13120] | 61 | - disable clearance by clearance officers for the selected session |
---|
[13118] | 62 | |
---|
[13120] | 63 | If clearance is disabled, students can still fill and submit the |
---|
| 64 | clearance form, but clearance officers can't process the clearance |
---|
| 65 | requests afterwards. They can neither clear these students nor |
---|
| 66 | reject their clearance request. |
---|
[13118] | 67 | |
---|
[13120] | 68 | - set the course registration deadline |
---|
[13118] | 69 | |
---|
[13120] | 70 | If the course registration deadline is set, student can't register |
---|
| 71 | courses unless they pay the late registration fee. |
---|
[13118] | 72 | |
---|
[13120] | 73 | Session configuration objects implement the following interface: |
---|
| 74 | |
---|
| 75 | .. literalinclude:: ../../../src/waeup/kofa/interfaces.py |
---|
| 76 | :pyobject: ISessionConfiguration |
---|