Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
ljzhsq2 opened this issue May 19, 2024 · 1 comment
Labels
type: feature code contributing to the implementation of a feature and/or user facing functionality

Comments

@ljzhsq2
Copy link

ljzhsq2 commented May 19, 2024

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?

@ljzhsq2 ljzhsq2 added the type: feature code contributing to the implementation of a feature and/or user facing functionality label May 19, 2024
@kylesloper
Copy link

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

@decaporg decaporg locked and limited conversation to collaborators May 23, 2024
@martinjagodic martinjagodic converted this issue into discussion #7213 May 23, 2024

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
type: feature code contributing to the implementation of a feature and/or user facing functionality
Projects
None yet
Development

No branches or pull requests

2 participants