Commit Graph

4714 Commits

Author SHA1 Message Date
Frédéric Péters 1f73b6ebcd translation update 2019-10-16 11:23:36 +02:00
Thomas NOËL b65fc220a3 views: fix a bad format in a logger.info string (#36978) 2019-10-16 10:47:25 +02:00
Frédéric Péters 6438cffd29 api: allow patch/put API to empty a role (#36918) 2019-10-15 11:26:40 +02:00
Benjamin Dauvergne da9857d8b7 manager: show user deletion status (#36788) 2019-10-10 18:52:58 +02:00
Frédéric Péters 66e5bba858 debian: don't set syslog handlers for django_select2 if undefined (#36787) 2019-10-08 17:47:40 +02:00
Frédéric Péters 8a31611e93 fix typo in translation 2019-10-08 17:47:40 +02:00
Frédéric Péters dcbc62633c translation update 2019-10-08 16:46:30 +02:00
Valentin Deniaud d177f4a296 data_transfer: fail importing on empty role uuid (#31083) 2019-10-08 16:16:34 +02:00
Valentin Deniaud 9159c4d70b django_rbac: always prevent empty uuid (#31083) 2019-10-08 16:16:34 +02:00
Paul Marillonnet 5b8b62a19f set upper bound on django-import-export dependency version (#36774)
* so as to maintain the role CSV export feature
2019-10-08 14:02:22 +02:00
Benjamin Dauvergne cdc2cf567c idp_oidc: check client is not None (#36720) 2019-10-08 12:44:29 +02:00
Paul Marillonnet 9e0b32b71d api: handle wrong payload types in role memberships direct definition (#36727) 2019-10-08 10:56:18 +02:00
Paul Marillonnet 5adef18631 translation update 2019-10-04 19:01:20 +02:00
Paul Marillonnet 1cedef29c9 api: role members direct definition (#36377) 2019-10-04 18:49:06 +02:00
Frédéric Péters a93c66455f translation update 2019-10-04 14:47:22 +02:00
Nicolas Roche 05340b110b api: extend DRF date field to accept empty string (#36365) 2019-10-03 16:11:33 +02:00
Benjamin Dauvergne 96f8538a08 api: returns no user if service-slug is unknown (#35189) 2019-10-03 16:01:06 +02:00
Paul Marillonnet 27add2ce1b debian: fix typo in control file dependency (#36655) 2019-10-03 12:07:39 +02:00
Benjamin Dauvergne d9918e3467 api: filter users based on OIDC client authorized roles (#35191) 2019-10-03 10:41:03 +02:00
Emmanuel Cazenave a61d2bb55d jenkins: use ci@enttrouvert.org for notification 2019-10-02 13:27:13 +02:00
Paul Marillonnet 2349e21a01 adapt manager tests (#34133) 2019-10-02 12:16:39 +02:00
Benjamin Dauvergne f93c71a58b tests: add tests on a2_rbac post_migrate handlers (#34133) 2019-10-02 12:16:34 +02:00
Benjamin Dauvergne a313152f3a update translation (#34133) 2019-10-02 12:16:29 +02:00
Benjamin Dauvergne 968a6e2575 a2_rbac: add default role of service administrator (#34133) 2019-10-02 12:16:24 +02:00
Paul Marillonnet 4115e6756b debian: do not use unnecessary pre-dependencies (#36433) 2019-10-02 12:03:54 +02:00
Paul Marillonnet c5625c57a7 end django 1.8 support (#36429) 2019-10-02 12:02:05 +02:00
Paul Marillonnet 62441e2340 accounts: send validation email before self-triggered account deletion (#27823) 2019-10-02 11:33:20 +02:00
Frédéric Péters 588dcfb95c misc: consider all roles prefixed with _ as internals (#36504) 2019-10-02 10:11:54 +02:00
Benjamin Dauvergne b7b0b93e7a Copy attribute's DRF field kwargs before use (#36098)
Without it we get parameters from previous calls to
Attribute.get_kind().
2019-09-13 11:14:41 +02:00
Nicolas Roche 6a3a1c3ebe csv_import: import cleaned fields (#35800) 2019-09-12 18:45:18 +02:00
Frédéric Péters e18a48522f misc: ignore non-request objects in log filters (#35629) 2019-09-11 11:06:15 +02:00
Benjamin Dauvergne 2884230fe4 auth_fc: differentiate registration login block with a class (#29227) 2019-09-09 13:48:30 +02:00
Benjamin Dauvergne beb8327f40 a2_rbac: add ROLE_ADMIN_RESTRICT_TO_OU_USERS setting (fixes #35391)
It limits visibility of role's administrators to users of the same OU as
the role administered.
2019-09-09 13:05:20 +02:00
Benjamin Dauvergne 5133e00c04 a2_rbac: use bulk update of admin_role permissions (#35391) 2019-09-09 13:05:20 +02:00
Benjamin Dauvergne 43cb2f9c8c a2_rbac: remove unused argument to Role.get_admin_role() (#35391) 2019-09-09 13:05:20 +02:00
Benjamin Dauvergne 4c9fcce47f a2_rbac: validate uniqueness of Role.slug (#35767) 2019-09-09 13:04:48 +02:00
Benjamin Dauvergne 1a8783b8e7 a2_rbac: move tests (#35767) 2019-09-09 13:04:48 +02:00
Benjamin Dauvergne 7a7da5a984 authenticators: select default OU based on service's ACL (#35213) 2019-09-09 13:04:02 +02:00
Nicolas Roche 6d1731c08e api: add non blank validation on required attributes (#35647) 2019-09-06 17:07:48 +02:00
Nicolas Roche c98f24d13c api: add a hashed_password attribute for user api (#35482) 2019-09-05 15:31:40 +02:00
Benjamin Dauvergne ba6e8892b6 views: sign next parameter in logout() (#35782) 2019-09-05 15:16:51 +02:00
Benjamin Dauvergne bc3ef6f057 utils: add signed next_url support to make_url() (#35782) 2019-09-05 15:16:51 +02:00
Benjamin Dauvergne cb021541c6 custom_user: user DRF field to serializer custom attributes to JSON (#24401) 2019-09-05 12:52:00 +02:00
Benjamin Dauvergne ba721dbda5 api: factorize making a DRF field for an attribute (#24401) 2019-09-05 12:52:00 +02:00
Thomas NOËL 58f1c5d4b6 update french translation 2019-09-04 15:26:18 +02:00
Frédéric Péters 870ab13f79 misc: mark template-in-code string for translation (#32794) 2019-09-04 15:18:54 +02:00
Frédéric Péters 837c5de24b emails: always provide a site variable (#32789) 2019-09-04 15:04:46 +02:00
Benjamin Dauvergne aa584ad97d api: recreate get/update_or_create mixin at the view level (#35710) 2019-09-02 14:34:34 +02:00
Paul Marillonnet 7669f2d659 auth_oidc: make OIDCProvider.jwkset always be a jwcrypto JWKSet obj (#35346) 2019-08-27 16:03:02 +02:00
Frédéric Péters 900c8dab0f Revert "Revert "misc: remove auth2_ssl entrypoint (#35418)""
This reverts commit c8bce84a7a.
2019-08-19 17:37:17 +02:00