Authentification pour l'interface admin #31
Labels
No Label
bug
docker
documentation
fonctionnalité
prêt
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: champs-libres/biommap#31
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Il n'y a pas d'authentification prévue pour l'accès à l'interface admin dans GeoNature-citizen. Ce qui est prévu dans GeoNature-citizen est de protéger l'accès via Apache ou Nginx.
cfr https://github.com/PnX-SI/GeoNature-citizen/issues/237
Il y a d'ailleurs cette configuration prévue pour apache ici (https://github.com/PnX-SI/GeoNature-citizen/blob/master/install/apache/gncitizen.conf) et pour nginx là (https://github.com/PnX-SI/GeoNature-citizen/blob/master/nginx/nginx.conf).
NB: Dans ce déployement: https://demo.geonature.fr/geonature/api/admin/ , ce n'est pas GeoNature-citizen, mais bien GeoNature. Ici, https://citizen.nature-occitanie.org/api/admin/, avec GeoNature-citizen, on a bien un accès restreint, mais pas par l'application.
Dans notre déploiement, nous n'avions pas encore prévu cet accès restreint dans notre configuration nginx.
Exemple de config nginx pour l'accès restreint à l'admin: