Commit graph

21 commits

Author SHA1 Message Date
simon lehericey
24fd12ed70 explicit about different contexts 2023-09-20 14:11:09 +02:00
simon lehericey
0b03ba4d68 remove v1/v2 api token logic 2023-09-20 14:11:09 +02:00
Paul Chavard
166c57b466
Merge pull request #9377 from tchak/feat-api-request-touch
ETQ Administrateur, je voudrais que mon compte soit considéré comme actif si je n'utilise que l'API
2023-08-02 11:52:18 +00:00
Paul Chavard
e9cb50d09c feat(api): add last_authenticated_at timestamp to api requests 2023-08-02 13:22:18 +02:00
Paul Chavard
b404064d3b feat(graphql): add mutation flag to lograge 2023-08-02 13:20:58 +02:00
Paul Chavard
a5733002ed feat(graphql): improuve logs 2023-04-05 13:56:26 +02:00
simon lehericey
8b5d493f12 clean: log current_user in api v2, when not using token_v3 2023-03-16 10:06:23 +01:00
Paul Chavard
d481222110 refactor(graphql): extract compute_demarche_authorization 2023-03-15 19:09:49 +01:00
Paul Chavard
8ee13f1719 feat(api_token): add allowed_procedure_ids and write_access 2023-03-15 19:09:49 +01:00
Paul Chavard
85d31632e3 feat(graphql): add read_only check to mutations 2023-03-15 19:09:49 +01:00
Paul Chavard
9c0cd8979a fix(graphql): context should correctly preserve demarche authorization state 2023-02-21 16:06:39 +01:00
Paul Chavard
8f1ae99413 fix(graphql): remove deprecated options from introspection query 2023-01-20 09:54:50 +01:00
Martin
52380d5249 fix(api): on fixe avec avec des tests le prob de token 2023-01-19 17:40:19 +01:00
Paul Chavard
c04e39a74d fix(graphql): annotationDescriptors should not be exposed as opendata 2023-01-18 13:46:40 +01:00
Paul Chavard
afc1f12028 feat(graphql): implement add/remove instructeurs via API 2023-01-10 20:33:35 +01:00
Paul Chavard
0557b84eed feat(graphql): expose current_administrateur when using new tokens 2023-01-10 20:07:38 +01:00
Paul Chavard
52c8fc7e8d feat(api_token): api v2 use new token 2022-12-07 18:19:37 +01:00
Paul Chavard
b6bb9552e6 fix(graphql): detect custom champs in fragment definitions 2022-04-12 14:24:15 +02:00
Paul Chavard
0bd8721776 Add a way to authoraize any query through context 2021-03-02 12:35:47 +01:00
Pierre de La Morinerie
150ddab660 zeitwerk: Api -> API 2021-02-09 13:07:30 +01:00
Paul Chavard
d509fe2edb GraphQL: add has_fragment to context 2021-01-12 16:24:14 +01:00