decaporg / decap-cms

A Git-based CMS for Static Site Generators
https://decapcms.org
MIT License
17.97k stars 3.05k forks source link

How to prevent users logged in with decap-cms from seeing the source code of the website? #7211

Closed ljzhsq2 closed 6 months ago

ljzhsq2 commented 6 months ago

Hello everyone, I like decap-cms, but there is a problem that I don't know how to solve?

My decap-cms has many users who can log in to jointly maintain the hugo website.

Since I am logging in using github, I need to grant everyone's github user access to the warehouse. They can easily see the source code of all hugo websites in github after logging in, but I don't want them to see the hugo website source code. How to solve it?

If I use [Git Gateway without Netlify] to log in, it can indeed be solved, but this method is very troublesome. Is there a simpler way?

kylesloper commented 6 months ago

Unfortunately this is not a feature request. You need to do this via the Github backend or create your own API as the backend.