django-mellon/mellon
Valentin Deniaud 1c3f3d887c
gitea/django-mellon/pipeline/head Build started... Details
utils: add method to check if a user has a role
Along with a middleware to allow catching the exception it raises when
the user is missing roles, redirecting them appropriately.

A distinction is made between roles which are obtained at the SSO,
stored in session, and roles which the user could have, statically
stored in database.

todo: ce commit dépend totalement du provisionning tel qu'implémenté par
hobo, il faudrait améliorer ça
2019-07-17 16:26:15 +02:00
..
locale/fr/LC_MESSAGES prevent redirection loop on artifact resolution errors (fixes #14810) 2019-03-02 16:42:46 +01:00
migrations add a model to store user<->NameID mapping (#7085) 2015-05-07 11:32:52 +02:00
sessions_backends pep8ness 2016-02-12 19:44:19 +01:00
static/mellon first commit 2014-04-30 14:34:39 +02:00
templates/mellon prevent redirection loop on artifact resolution errors (fixes #14810) 2019-03-02 16:42:46 +01:00
__init__.py misc: update missing-django message for Python 3 (#20925) 2017-12-30 11:53:31 +01:00
adapters.py views: save is_staff in session 2019-05-21 12:06:04 +02:00
app_settings.py add setting MELLON_SIGNATURE_METHOD (#32008) 2019-04-19 11:09:11 +02:00
backends.py backends: add request argument to authenticate (fixes #30541) 2019-02-12 09:45:53 +01:00
exceptions.py utils: add method to check if a user has a role 2019-07-17 16:26:15 +02:00
middleware.py utils: add method to check if a user has a role 2019-07-17 16:26:15 +02:00
models.py pep8ness 2016-02-26 18:09:27 +01:00
urls.py misc: remove usage of urls.patterns for django 1.8 and later (#15959) 2017-04-23 21:08:15 +02:00
utils.py utils: add method to check if a user has a role 2019-07-17 16:26:15 +02:00
views.py views: save is_staff in session 2019-05-21 12:06:04 +02:00