DemocracyLab / DemocracyLab/CivicTechExchange

Admin Page should be hid for security

Open
#1,000 2 comments 0 reactions 0 assignees Claimed by @chunlishao View on GitHub
Dominant language
JavaScript
Stars
105
Forks
71
PR merge metrics
No merged PRs in 30d

Description

Now, the admin page exposed in default way. It put the system in risk.
![image](https://github.com/DemocracyLab/CivicTechExchange/assets/116043159/e0eff1b4-ece8-4a5d-b835-f3871d7bf4ce)

Here are how other well-known Django websites handle it.
![image](https://github.com/DemocracyLab/CivicTechExchange/assets/116043159/a39d69ec-a658-4bdf-9610-3d133bfe62d2)
![image](https://github.com/DemocracyLab/CivicTechExchange/assets/116043159/1eb1e048-4495-47d5-b888-533999dbb7c0)
![image](https://github.com/DemocracyLab/CivicTechExchange/assets/116043159/50094ad5-aed1-4e61-b969-0b07edaee669)

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the Django admin entry point and the open pull request #1007, since related work is already underway. Confirm the intended default exposure behavior from the issue’s examples; done means the admin page is no longer exposed by default without breaking legitimate administrative access.

Written by the indexing model from the issue text.

Assessment

Tech stack
django
Domain
backend, security
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.