-
-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Make home.tmpl visible with Signin-View enabled #4040
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
Conversation
Codecov Report
@@ Coverage Diff @@
## master #4040 +/- ##
==========================================
- Coverage 19.96% 19.95% -0.01%
==========================================
Files 153 153
Lines 30478 30478
==========================================
- Hits 6086 6083 -3
- Misses 23479 23481 +2
- Partials 913 914 +1
Continue to review full report at Codecov.
|
LGTM |
Not a good idea - with that merged the LANDING_PAGE setting is ignored |
This reverts commit 2a97994.
Why can't you just add a new opt in option instead of changing the default behavior of REQUIRE_SIGNIN_VIEW? I upgraded from 1.1 to 1.5 now all the users, organizations and public repositories are exposed. What can I do? Stick with 1.1? |
@nillith this PR will only expose home page that should have no any usable contents. I think your problem maybe not effected by this PR. |
I can confirm that the change is working like intended. @nillith it seems you have configured something wrong. REQUIRE_SIGNIN_VIEW = true keeps everything save from anonymous users. The only thing you can see now is the home.tmpl (which was never visible before that change with require_signin true) |
home.tmpl >> base/head.tmpl >> base/head_navbar.tmpl >> Explore and BOOM . This is the path where all the things are exposed. |
I would agree with @nillith as it is kind of annoying on having to click on login menu all the time |
@lunny |
Ok I'm not using a docker container, maybe there is another problem with it. Can't see a problem where it is annoying to click on login. For EU you must deliver an Imprint, Cookie Law, GDPR. Forcing it on the front page is the best option in this case as you can't add some fancy modals. For Intranet only you don't need REQUIRE_SIGNIN_VIEW. Right Management can handle access to repos. |
@cht47 Habitual behavior was changed. I(and many others) don't need home screen at all and yes - it's really annoying to click Login button every time I go to my intranet git (I even searched and found this issue!). There was a reasonable question - why don't provide new option instead of changing old one? |
Fix #3846