Bug #7806
Add a user API endpoint
Start date:
08 Jul 2015
Due date:
% Done:
100%
Estimated time:
Patch proposed:
No
Planning:
Description
It should return basic user informations, roles, accessible services and service roles.
Related issues
Associated revisions
History
Updated by Benjamin Dauvergne over 5 years ago
- Related to Development #7769: récup de la liste des sp "pertinents" depuis authentic added
Updated by Benjamin Dauvergne over 5 years ago
- Status changed from Nouveau to Résolu (à déployer)
- % Done changed from 0 to 100
Appliqué par commit authentic2|5ed1397b91f2c4add3a915bdc2d2a32d89f70132.
Updated by Benjamin Dauvergne about 5 years ago
- Status changed from Résolu (à déployer) to Solution déployée
api_views: add a user API endpoint (fixes #7806)
The endpoint supports JSON with CORS or JSONP with Referer validation.
Browser or proxy not sending Referer headers will be forbidden to access
the view. Cross-origin check are disabled when DEBUG=True. It also means
that just viewing it in you browser is forbidden (as the browser will
not send the Referer or Origin header).