Skip to content
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

Configuration for not allowing unauthorized page views. #12

Closed
crueber opened this issue Apr 17, 2023 · 2 comments
Closed

Configuration for not allowing unauthorized page views. #12

crueber opened this issue Apr 17, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@crueber
Copy link

crueber commented Apr 17, 2023

This is a follow up on #8 , so that it's recorded separately. Taking all the gists private, essentially.

I recognize that there is currently an 'unlisted' option, but it would be nice to be able to have a configuration that would make the whole system private. So that if you were not authenticated, it would just display a page that said something like "Please log in to view gists" or something along those lines. Or maybe just show a log in screen right off the bat, and not allow any viewership until they have their own user to log in.

Fits nicely together with the configuration to disable registration, so that you can have a completely private gist system.

Thanks!

@thomiceli
Copy link
Owner

I see, its a good idea to me.

@thomiceli thomiceli added the enhancement New feature or request label Apr 18, 2023
@stefanoschrs
Copy link

Another option here (but more complicated) is to have a private visibility type in addition to unlisted & public, so that only the creator and collaborators can access it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants