Théophile Bastian
f01c0b5594
Do not ship settings.py as a symlink
2017-10-16 20:06:56 +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
b1727f7e07
Clean a CAS-returned username
...
cas.eleves.ens.fr allows users such as ' FooBAr ' or 'foobar' in
indifferently
2017-10-14 16:57:59 +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
25102a8233
Add API publish view [UNTESTED]
2017-09-24 18:23:36 +02:00
Théophile Bastian
3fbd7b5859
Use Markdown for presentation texts all around
2017-09-23 18:48:29 +02:00
Théophile Bastian
db0f7fa5b2
Introduce django-solo for site configuration
2017-09-22 18:07:38 +02:00
Théophile Bastian
89c1bb63cd
Add PublicationYear, add years to sidebar
2017-09-22 15:15:05 +02:00
Théophile Bastian
f8d6be1c25
Include mainsite
's urlpatterns
2017-09-21 19:11:51 +02:00
Théophile Bastian
9f4ed6432e
Start app mainsite
2017-09-21 11:01:17 +02:00
Théophile Bastian
0ffc0de80d
Create proper default project settings
2017-09-21 10:57:06 +02:00
Théophile Bastian
52cbd0ec5c
Start django project
2017-09-21 10:35:29 +02:00