Commit Graph

37 Commits

Author SHA1 Message Date
Valentin Deniaud cebdcf5bbf misc: change django-upgrade target version to 3.2 (#75442) 2023-03-29 14:49:55 +02:00
Valentin Deniaud c2aed1b25d misc: remove compatibility code with old authentic version (#72027) 2022-12-12 10:25:57 +01:00
Valentin Deniaud 93fc9d9960 authentic2: remove remaining dependencies to RoleAttribute (#71836) 2022-11-29 16:28:40 +01:00
Valentin Deniaud f3f20e8f6c authentic2: use direct imports for rbac models (#70963) 2022-11-03 13:51:18 +01:00
Valentin Deniaud ec1e57177a authentic2: support direct role attribute access (#70672) 2022-10-31 16:53:42 +01:00
Valentin Deniaud a107b7ef0e misc: apply pyupgrade (#69708) 2022-09-29 15:23:49 +02:00
Frédéric Péters 9877b65265 misc: remove usage of django.utils.six (#63684) 2022-04-15 18:28:51 +02:00
Benjamin Dauvergne 7f10b9a2c8 agent/authentic2: handle signals for soft creation/deletion of roles relations (#63199) 2022-03-28 10:06:01 +02:00
Paul Marillonnet 339ab63855 agent/authentic: use http provisionning by default (#59312) 2021-12-08 10:56:07 +01:00
Benjamin Dauvergne 96ce1fb02f provisionning: add ?sync=1 parameter to /__provision__ API (#56920)
When used by the /api/provision API on authentic, it garantees the
provisionning is made synchronously.
2021-09-28 17:11:56 +02:00
Emmanuel Cazenave cdfe73d441 agent/authentic2: add debug mode for provisionning (#54637)
gitea-wip/hobo/pipeline/head There was a failure building this commit Details
gitea/hobo/pipeline/head Something is wrong with the build of this commit Details
2021-06-15 18:02:02 +02:00
Benjamin Dauvergne 1a02b24d14 agent/authentic2: mark object for provisionning if transaction commit (#52355) 2021-05-20 18:31:47 +02:00
Frédéric Péters 872f39774a trivial: apply black 2021-05-14 18:40:09 +02:00
Frédéric Péters 13c83ff3ce authentic: add API to force user provisionning (#53059) 2021-04-15 12:48:31 +02:00
Emmanuel Cazenave 35ad2dadbf provisionning: do not fail on missing role (#50014) 2021-04-09 15:25:00 +02:00
Benjamin Dauvergne 9b5e4dde2e agent/authentic2: batch the provisionning of agents (#52620) 2021-04-08 14:31:21 +02:00
Emmanuel Cazenave 0132005608 provisionning: protect against missing role (#52482) 2021-03-30 15:01:01 +02:00
Benjamin Dauvergne 90a954b45e misc: provision user.is_active (#44896) 2020-07-10 21:01:34 +02:00
Frédéric Péters 858521f6c4 provisionning: get all roles (#19516) 2020-06-23 10:18:15 +02:00
Frédéric Péters 0012761656 general: use HTTP API to provision users & groups (#43245) 2020-05-29 12:24:18 +02:00
Frédéric Péters 2f839757a5 misc: use new location for django.urls imports (#42967) 2020-05-15 18:35:18 +02:00
Frédéric Péters 6f927f0196 misc: provision users to services of all OUs (#40518) 2020-03-13 08:51:35 +01:00
Paul Marillonnet 0ca228fa96 python3: migrate authentic (#40407) 2020-03-06 09:31:03 +01:00
Frédéric Péters 4ed5d38e4c agent: consider allowed technical roles when provisionning roles (#36937) 2019-10-15 13:46:27 +02:00
Benjamin Dauvergne 848ce782ef authentic: allow provisionning some technical roles (#36398) 2019-10-02 08:56:53 +02:00
Benjamin Dauvergne 24477e2fd8 agent-authentic2: test if ou is None in provisionning (#35385) 2019-08-16 19:40:18 +02:00
Benjamin Dauvergne 83ee68e26a provisioning: only send user's roles visible by the service (#35168) 2019-08-06 11:50:14 +02:00
Benjamin Dauvergne e7abfc8ea7 agent/a2: prevent useless thread launching (#34484) 2019-07-17 11:51:44 +02:00
Frédéric Péters fec8dabd5f provisionning: use explicit __in lookup (#25646) 2018-08-16 11:41:04 +02:00
Benjamin Dauvergne a5410340fe provisionning: prevent ValueError on a user.roles.clear() (fixes #24949) 2018-07-17 01:02:17 +02:00
Emmanuel Cazenave 8775faab27 correct typo in logger call (#22894) 2018-03-29 16:05:02 +02:00
Frédéric Péters 6a324c5296 authentic: do not send provisionning messages to empty audience (#20309) 2017-12-03 19:06:28 +01:00
Benjamin Dauvergne 46e45ddfb2 agent: use BaseUserSerializer for user provisionning (fixes #16924) 2017-08-29 15:16:34 +02:00
Benjamin Dauvergne 33bbbeff26 do not provision if there is not tenant currently (fixes #16391) 2017-05-18 09:32:28 +02:00
Frédéric Péters cf3351f858 authentic: change emails_to_members to be True by default (#14562) 2017-01-12 09:41:19 +01:00
Benjamin Dauvergne 1533d25d63 authentic: improve provisionning on Role.members changes (#13597)
Only react to many-to-many changes on roles, not other potential
relations (such as Group).
2016-10-14 18:44:01 +02:00
Benjamin Dauvergne ed08accd60 send provisionning messages after request treatment in a thread (fixes #9396)
All objects to provision are collected into the Provisionning singleton object
in thread local dictionnaries. When request processing is finished the
ProvisionningMiddleware launch a thread which will send provisionning messages.
2016-10-05 14:03:27 +02:00