Commit Graph

34 Commits

Author SHA1 Message Date
Valentin Deniaud 85d6ab8ae0 misc: remove imports from django_rbac (#71146) 2022-11-08 17:06:02 +01:00
Benjamin Dauvergne 1fdb1285f7 sync-cut: do not change user's email on OIDCAccount deletion (#63132) 2022-03-24 17:00:04 +01:00
Paul Marillonnet 6dc0d61030 management: cancel sync deletion on abnormally high ratio (#62849) 2022-03-23 16:22:59 +01:00
Paul Marillonnet 4b001bd77e misc: codestyle fixes (#62849) 2022-03-23 16:22:21 +01:00
Paul Marillonnet 2e5dd01147 misc: add authentic2 plugin class (#62849) 2022-03-23 15:32:42 +01:00
Frédéric Péters 8089f03e4a trivial: apply black 2021-01-13 17:39:04 +01:00
Frédéric Péters bea128da5b sync-cut: ignore duplicated oidc accounts 2020-12-01 18:41:44 +01:00
Frédéric Péters ff16012108 sync-cut: add pagination support for modified users result (#37774) 2020-12-01 18:41:44 +01:00
Emmanuel Cazenave bcf1f45cba do not rely on pkg_resources to get loaded (#48759) 2020-11-23 16:48:02 +01:00
Frédéric Péters fab734b7e0 sync-cut: add argument to control synchronisation delta 2020-09-08 13:12:37 +02:00
Frédéric Péters de7997f1b1 only save() user if there are changes 2020-09-08 13:04:17 +02:00
Frédéric Péters 1b838462f1 commands: get changes for five minutes, to account for cron delays 2020-08-16 18:48:05 +02:00
Frédéric Péters cb0cc25e13 trivial: remove unused import 2020-08-16 18:47:18 +02:00
Frédéric Péters 30cc40116d commands: include removal date when "deleting" accounts 2020-08-16 18:46:57 +02:00
Frédéric Péters 9866c1a1af commands: remove agents from synchonization 2020-08-16 18:46:57 +02:00
Frédéric Péters 85c3b6f838 add support for templates in oidc claims (#37774) 2020-08-14 10:56:11 +02:00
Emmanuel Cazenave 88096a2eca use force_str on xml fragment (#44931) 2020-07-08 14:26:10 +02:00
Frédéric Péters 91c57bd9ca import urlparse from django.six 2020-04-07 11:09:46 +02:00
Frédéric Péters f35458c2fc misc: use print as a function 2020-01-29 11:59:25 +01:00
Frédéric Péters 7278ed42f3 raise error in case of requests error 2019-10-02 18:02:42 +02:00
Frédéric Péters 07d119713a also mark bijoe accesses as belonging to backoffice 2018-11-06 09:33:05 +01:00
Frédéric Péters cfec3e3683 misc: don't do anything if CUT_GNM_OU_MAPPING is missing 2018-10-29 11:41:53 +01:00
Frédéric Péters 7d1c437cd2 use new oidc provider slug attribute 2018-10-03 17:10:09 +02:00
Frédéric Péters ac3dcae4a2 also sync recent user changes (#26071) 2018-09-07 11:19:30 +02:00
Frédéric Péters dd9e9977ae sync-cut: defederate and invalidate email of deleted accounts (#25178) 2018-07-10 12:03:05 +02:00
Frédéric Péters 674354c12c sync-cut: skip errors, display in verbose mode 2018-03-08 18:24:42 +01:00
Frédéric Péters a917556ff5 persist agent OU over SSO (#22222) 2018-03-08 17:55:35 +01:00
Frédéric Péters 6ecdbf370a add CUT synchronisation as a management command (#22222) 2018-03-02 09:51:57 +01:00
Frédéric Péters 3622d54cf2 don't crash on calls missing a next_url info 2018-02-12 14:31:54 +01:00
Frédéric Péters 35851aba47 add chrono & welco as backoffice servives 2017-12-19 16:34:36 +01:00
Frédéric Péters a232cdd8ef fix reference to samlRequest parameter 2017-11-25 15:38:49 +01:00
Frédéric Péters aa527bfd17 handle direct access to authentic backoffice 2017-11-25 15:09:11 +01:00
Frédéric Péters 7a65a4298c recognize all *agent* domains as backoffice 2017-11-08 13:37:35 +01:00
Frédéric Péters 29fff99b9c add template filter to decide if the user wants the front of back office 2017-09-06 12:14:12 +02:00