Commit graph

9 commits

Author SHA1 Message Date
eab76e9d0c
chore(fixtures): REformat 2024-10-23 13:18:13 +02:00
f849a7e2f6
chore: Remove empty files 2024-10-23 11:27:26 +02:00
430b3b40bb
chore: Run formatters and fix lint errors 2024-10-23 11:06:57 +02:00
Théophile Bastian
0037f5f231 Update to Django 2.2 2020-06-16 12:00:24 +02:00
Théophile Bastian
329264715e Fix error 500: anonymous user has no CAS 2017-11-07 14:03:37 +01:00
Théophile Bastian
865a249002 Fix first CAS connection problem
`user` was not returned by configure_user
2017-10-15 17:09:14 +02:00
Théophile Bastian
6748000327 Fix BOcal group fixture: natural IDs for permissions 2017-10-14 22:44:42 +02:00
Théophile Bastian
eed3653d22 Use rhosts file to grant permissions to users.
Whenever a user logs in through CAS, their username is looked up in the
.rhosts file provided through settings. If it is found, the user is
granted staff status and BOcal group (cf fixture).

The rights are re-evaluated at each login and at each access to
/admin/login.

Close #2.
2017-10-14 19:36:13 +02:00
Théophile Bastian
e699fc617e Move authentication-related modules to app bocal_auth 2017-10-14 17:59:42 +02:00