|
Lines 318-326
sub is_ajax {
Link Here
|
| 318 |
To executed at the beginning of scripts to stop the script at this point if |
318 |
To executed at the beginning of scripts to stop the script at this point if |
| 319 |
some errors are found. |
319 |
some errors are found. |
| 320 |
|
320 |
|
| 321 |
Tests for module 'members': |
321 |
A serie of tests can be run for a given module, or a specific check. |
| 322 |
* patron is not defined (we are looking for a patron that does no longer exist/never existed) |
322 |
Params "module" and "check" are mutually exclusive. |
| 323 |
* The logged in user cannot see patron's infos (feature 'cannot_see_patron_infos') |
323 |
|
|
|
324 |
Tests for modules: |
| 325 |
* members: |
| 326 |
- Patron is not defined (we are looking for a patron that does no longer exist/never existed) |
| 327 |
- The logged in user cannot see patron's infos (feature 'cannot_see_patron_infos') |
| 328 |
|
| 329 |
Tests for specific check: |
| 330 |
* csrf_token |
| 331 |
will test if the csrf_token CGI param is valid |
| 324 |
|
332 |
|
| 325 |
Others will be added here depending on the needs (for instance biblio does not exist will be useful). |
333 |
Others will be added here depending on the needs (for instance biblio does not exist will be useful). |
| 326 |
|
334 |
|
| 327 |
- |
|
|