Remove Netlify CMS admin interface#67
Open
rly wants to merge 3 commits into
Open
Conversation
✅ Deploy Preview for nwborg ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
# 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>
✅ Deploy Preview for nwborg ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This removes the Decap CMS (formerly Netlify CMS) admin interface:
static/admin/(served at nwb.org/admin), the unused root-leveladmin/copy that Hugo never published, and the Netlify Identity widget script thathead.htmlloaded on every page to authenticate CMS logins.The CMS is configured with a
git-gatewaybackend, so every save through it would commit to this repo. No such commit exists anywhere in the history, and the two copies ofconfig.ymlhave drifted out of sync, so the interface was set up and never used. Keeping it means maintaining a 1,000-line content model that mirrorscontent/(it already had to be updated by hand during theconverting-data-to-nwb->convertrename) 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.