Project

General

Profile

Bug #7806

Add a user API endpoint

Added by Benjamin Dauvergne over 5 years ago. Updated about 3 years ago.

Status:
Fermé
Priority:
Normal
Category:
-
Target version:
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

Related to Publik - Development #7769: récup de la liste des sp "pertinents" depuis authenticFermé03 Jul 2015

Actions

Associated revisions

Revision 5ed1397b (diff)
Added by Benjamin Dauvergne over 5 years ago

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).

History

#1

Updated by Benjamin Dauvergne over 5 years ago

  • Related to Development #7769: récup de la liste des sp "pertinents" depuis authentic added
#2

Updated by Benjamin Dauvergne over 5 years ago

  • Status changed from Nouveau to Résolu (à déployer)
  • % Done changed from 0 to 100
#3

Updated by Benjamin Dauvergne about 5 years ago

  • Status changed from Résolu (à déployer) to Solution déployée
#4

Updated by Benjamin Dauvergne about 3 years ago

  • Status changed from Solution déployée to Fermé

Also available in: Atom PDF