Commit Graph

28 Commits

Author SHA1 Message Date
Benjamin Dauvergne f76a6a84e8 use BRANCH_NAME for naming test databases (#31337) 2019-03-18 11:53:15 +01:00
Christophe Siraut 03a2aa8ed4 agent: add generic import_template management command (#14630) 2019-03-15 11:28:05 +01:00
Frédéric Péters 01da77f564 settings loaders: provide A2_IDP_OIDC_JWKSET to authentic (#25686) 2018-09-06 13:10:06 +02:00
Frédéric Péters 3189d84f06 tests: don't use call_command('tenant_command', <command>...) (#25657)
https://github.com/bernardopires/django-tenant-schemas/issues/495
2018-08-16 12:06:24 +02:00
Benjamin Dauvergne f31d522206 agent/authentic2: add an hobo_provision command (#19853)
To provision all users or roles, the role provisionning is full, i.e. it
removes old roles. The user provisionning is not currently.
2018-06-18 15:53:29 +02:00
Emmanuel Cazenave 4dda39a6bf set TENANT_BASE to a non exisiting path (#22892) 2018-03-30 10:25:46 +02:00
Frédéric Péters 661fd751a6 tests: use Attribute.all_objects to get all fields (#22751) 2018-03-29 15:48:25 +02:00
Frédéric Péters b75755ffe8 profile: switch birth date field to the new birthdate field type (#22443) 2018-03-12 09:27:11 +01:00
Frédéric Péters ff5a70550f tests: add some audience before testing provisionning (#20309) 2017-12-03 19:26:17 +01:00
Benjamin Dauvergne 46e45ddfb2 agent: use BaseUserSerializer for user provisionning (fixes #16924) 2017-08-29 15:16:34 +02:00
Benjamin Dauvergne d3b918a9ba authentic2: enable provisionning in management commands (#15550) 2017-05-17 12:14:16 +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
Benjamin Dauvergne 6fce83ff05 tests: adapt to new email attribute in authentic 2016-09-26 10:38:24 +02:00
Frédéric Péters 72e02e4327 tests: account for first/last names now being actual attributes (#13298) 2016-09-25 17:12:56 +02:00
Frédéric Péters 8c9e992ea5 tests: update with new number of attributes (#12355) 2016-06-29 11:54:35 +02:00
Benjamin Dauvergne 80b6a26ca4 rest_authentication: allow having user named after service origin (fixes #10691)
It allows managing services' permissions finely.
2016-04-20 15:13:26 +02:00
Benjamin Dauvergne 1e33b4c3e8 add customizable anonymous service user class (fixes #9814)
Actual class is renamed AnonymousAuthenticServiceUser and a new one is added
named AnonymousAdminServiceUser. By default anonymous service authentication is
forbidden, you must set the HOBO_ANONYMOUS_SERVICE_USER_CLASS setting to
activate it.
2016-01-29 17:33:45 +01:00
Benjamin Dauvergne 2ba0be1e8a add rest_framework authentication module for authentic2 (fixes #8896) 2016-01-26 03:26:44 +01:00
Benjamin Dauvergne d2d0aa9d4c fix broken test (#9503) 2016-01-21 10:47:34 +01:00
Benjamin Dauvergne f23bd9e70a agent/authentic2: provision the is_superuser attribute (fixes #9230) 2016-01-11 22:10:33 +01:00
Benjamin Dauvergne 4aebacf75b tests_authentic: clean temporary combo-tenant-base (fixes #8958) 2015-11-16 09:53:29 +01:00
Benjamin Dauvergne 5b2deb8019 agent: provision all user attributes (fixes #8757) 2015-11-06 13:44:02 +01:00
Benjamin Dauvergne 667a4316d5 tests_authentic: add test on hobo_deploy and new roles skeleton files (#8768) 2015-11-03 10:21:17 +01:00
Benjamin Dauvergne 0304bc1680 agent/authentic2: add hooks on signals to provision users (#8440)
Signals intercepted:
- post_save and post_delete on User
- m2m_changed on Role.members.through
2015-10-13 11:46:52 +02:00
Benjamin Dauvergne 6c29ea93cf agent/authentic2: make objects homogenous in a provisionning message (#8440)
In order to support 'full' provisionning of different kinds of objects,
we impose that in the same message all objects are of the same type.
2015-10-12 22:28:48 +02:00
Benjamin Dauvergne 150d1e38e0 add authentic2 agent tests (#8425) 2015-10-06 11:21:07 +02:00