Commit graph

8 commits

Author SHA1 Message Date
Théophile Bastian
0037f5f231 Update to Django 2.2 2020-06-16 12:00:24 +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
Théophile Bastian
17e71451fe Make login through CAS and local auth available
So far, CAS-created users don't get any privilege based on rhosts
2017-10-14 16:22:23 +02:00
Théophile Bastian
6d2ab4c0ca Update URLs to include api 2017-09-24 18:25:41 +02:00
Théophile Bastian
3fbd7b5859 Use Markdown for presentation texts all around 2017-09-23 18:48:29 +02:00
Théophile Bastian
f8d6be1c25 Include mainsite's urlpatterns 2017-09-21 19:11:51 +02:00
Théophile Bastian
52cbd0ec5c Start django project 2017-09-21 10:35:29 +02:00