Skip to content

Remove Netlify CMS admin interface#67

Open
rly wants to merge 3 commits into
mainfrom
remove_admin
Open

Remove Netlify CMS admin interface#67
rly wants to merge 3 commits into
mainfrom
remove_admin

Conversation

@rly

@rly rly commented May 2, 2025

Copy link
Copy Markdown
Contributor

This removes the Decap CMS (formerly Netlify CMS) admin interface: static/admin/ (served at nwb.org/admin), the unused root-level admin/ copy that Hugo never published, and the Netlify Identity widget script that head.html loaded on every page to authenticate CMS logins.

The CMS is configured with a git-gateway backend, so every save through it would commit to this repo. No such commit exists anywhere in the history, and the two copies of config.yml have drifted out of sync, so the interface was set up and never used. Keeping it means maintaining a 1,000-line content model that mirrors content/ (it already had to be updated by hand during the converting-data-to-nwb -> convert rename) and shipping a third-party auth script to every visitor for a login nobody performs.

If this is merged, Netlify Identity and Git Gateway should also be disabled in the dashboard for the nwborg site, since nothing will point at them and Git Gateway holds a write token for this repo.

@netlify

netlify Bot commented May 2, 2025

Copy link
Copy Markdown

Deploy Preview for nwborg ready!

Name Link
🔨 Latest commit 9ff8f34
🔍 Latest deploy log https://app.netlify.com/sites/nwborg/deploys/68155b443aaa8a00081ce07a
😎 Deploy Preview https://deploy-preview-67--nwborg.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@rly rly requested a review from bendichter May 3, 2025 00:39
rly and others added 2 commits July 12, 2026 22:25
# Conflicts:
#	static/admin/config.yml
The widget authenticates users into the Decap CMS at /admin, which this
branch removes.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@netlify

netlify Bot commented Jul 13, 2026

Copy link
Copy Markdown

Deploy Preview for nwborg ready!

Name Link
🔨 Latest commit 8f988db
🔍 Latest deploy log https://app.netlify.com/projects/nwborg/deploys/6a544e199cd81800071f1899
😎 Deploy Preview https://deploy-preview-67--nwborg.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@rly rly marked this pull request as ready for review July 13, 2026 02:33
@rly rly changed the title Remove netlify admin files Remove Netlify CMS admin interface Jul 13, 2026
@rly

rly commented Jul 13, 2026

Copy link
Copy Markdown
Contributor Author

@bendichter Do you ever use the CMS at nwb.org/admin? I'd like to remove it. There's no sign it's ever been used (see the description), but you'd know better than the git history would.

If you're good with this, could you also disable Identity and Git Gateway in the Netlify dashboard for the nwborg site once it merges? Nothing will point at them, and Git Gateway holds a write token for this repo.

@rly rly enabled auto-merge (squash) July 13, 2026 02:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant