--
--
To unsubscribe, email repo-discuss...@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en
---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/repo-discuss/1fe5a0fa-0c2a-4356-bbdb-44865b48d0a7%40googlegroups.com.
Why is this code in a plugin ?To me this seems like core functionality which should be moved to core Gerrit.-Matthias
On Tue, Apr 7, 2020 at 9:04 AM Sven Selberg <sven....@axis.com> wrote:
You might want to look at the login-redirect plugin that redirects the user to the login dialog if it accesses Gerrit without being logged in.--After login the user is redirected to the URL that the user tried to access initially./Sven
On Monday, April 6, 2020 at 6:26:16 PM UTC+2, Andrey Belous wrote:Hi all,We have old Gerri server (2.14.x) and when user is trying to access review link before log in to the Gerri server,It will print the following message and buttons for login.“Code Review - Session ExpiredSession ExpiredYou are no longer signed in to Gerrit Code Review.To continue, please sign-in again. “On a sever with Gerrit 3.1.x it will print "404 Not Found” .So for Gerrit 3.1.x,Is it possible to check if user did not logged-in and ask to sign-inOrAllow to provide custom error message when user did not sign-in yetThank you!Andrey
--
To unsubscribe, email repo-d...@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en
---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-d...@googlegroups.com.
Couldn't agree more.We (Gustaf) implemented it in a plugin since we needed it (don't recall if there were any attempts to get it into core).After using it for a couple of months we suggested to contribute the plugin upstream, and it was accepted. That's why it is a plugin.But I think it's the right way to go to first implement things of this nature in a plugin if you are not certain whether it fits in core, so the question should be more "Why is this code *still* in a plugin". :-)
To unsubscribe, email repo-discuss...@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en
---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/repo-discuss/4eb3dc87-6f75-48c4-9e7c-f16a7a51ba76%40googlegroups.com.
On 7 Apr 2020, at 09:21, Matthias Sohn <matthi...@gmail.com> wrote:On Tue, Apr 7, 2020 at 9:35 AM Sven Selberg <sven.s...@axis.com> wrote:Couldn't agree more.We (Gustaf) implemented it in a plugin since we needed it (don't recall if there were any attempts to get it into core).After using it for a couple of months we suggested to contribute the plugin upstream, and it was accepted. That's why it is a plugin.But I think it's the right way to go to first implement things of this nature in a plugin if you are not certain whether it fits in core, so the question should be more "Why is this code *still* in a plugin". :-)I agree
To view this discussion on the web visit https://groups.google.com/d/msgid/repo-discuss/CAKSZd3Trwbctv4qZmB-2--a%2BWVCX1yJXQrs-2-1TJp_HO3eR%3Dg%40mail.gmail.com.
On 7 Apr 2020, at 09:21, Matthias Sohn <matthi...@gmail.com> wrote:
On Tue, Apr 7, 2020 at 9:35 AM Sven Selberg <sven....@axis.com> wrote:Couldn't agree more.We (Gustaf) implemented it in a plugin since we needed it (don't recall if there were any attempts to get it into core).After using it for a couple of months we suggested to contribute the plugin upstream, and it was accepted. That's why it is a plugin.But I think it's the right way to go to first implement things of this nature in a plugin if you are not certain whether it fits in core, so the question should be more "Why is this code *still* in a plugin". :-)I agree
If I recall correctly (I may be wrong) the issue was reported as a regression from GWT, because it is with PolyGerrit that the 404 behaviour was introduced.However, it was mentioned that asking to the user to login is a potential security issue for Gerrit sites exposed outside the internal network.If you tell “hey, you should login to see this URL” then you imply that the URL is valid and there is something behind it.
To unsubscribe, email repo-discuss+unsub...@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en
---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-d...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/repo-discuss/4eb3dc87-6f75-48c4-9e7c-f16a7a51ba76%40googlegroups.com.
More info at http://groups.google.com/group/repo-discuss?hl=en
---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-d...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/repo-discuss/CAKSZd3Trwbctv4qZmB-2--a%2BWVCX1yJXQrs-2-1TJp_HO3eR%3Dg%40mail.gmail.com.
On Tuesday, April 7, 2020 at 11:56:22 AM UTC+2, lucamilanesio wrote:On 7 Apr 2020, at 09:21, Matthias Sohn <matthi...@gmail.com> wrote:On Tue, Apr 7, 2020 at 9:35 AM Sven Selberg <sven....@axis.com> wrote:Couldn't agree more.We (Gustaf) implemented it in a plugin since we needed it (don't recall if there were any attempts to get it into core).After using it for a couple of months we suggested to contribute the plugin upstream, and it was accepted. That's why it is a plugin.But I think it's the right way to go to first implement things of this nature in a plugin if you are not certain whether it fits in core, so the question should be more "Why is this code *still* in a plugin". :-)I agreeIf I recall correctly (I may be wrong) the issue was reported as a regression from GWT, because it is with PolyGerrit that the 404 behaviour was introduced.However, it was mentioned that asking to the user to login is a potential security issue for Gerrit sites exposed outside the internal network.If you tell “hey, you should login to see this URL” then you imply that the URL is valid and there is something behind it.I don't see that the "information leakage" justification holds up, at least with the behavior of the plugin since it will prompt you to sign in whatever the URL is.
You have to login before even attempting to navigate to anything under canonical-web-url even if it doesn't exist. So f.i.:
https://my-gerrit.company.com/pure/rubbish-ppppppppppppppppppfWould also redirect you to the login.
On 7 Apr 2020, at 11:38, Sven Selberg <sven.s...@axis.com> wrote:
On Tuesday, April 7, 2020 at 11:56:22 AM UTC+2, lucamilanesio wrote:On 7 Apr 2020, at 09:21, Matthias Sohn <matthi...@gmail.com> wrote:On Tue, Apr 7, 2020 at 9:35 AM Sven Selberg <sven....@axis.com> wrote:Couldn't agree more.We (Gustaf) implemented it in a plugin since we needed it (don't recall if there were any attempts to get it into core).After using it for a couple of months we suggested to contribute the plugin upstream, and it was accepted. That's why it is a plugin.But I think it's the right way to go to first implement things of this nature in a plugin if you are not certain whether it fits in core, so the question should be more "Why is this code *still* in a plugin". :-)I agreeIf I recall correctly (I may be wrong) the issue was reported as a regression from GWT, because it is with PolyGerrit that the 404 behaviour was introduced.However, it was mentioned that asking to the user to login is a potential security issue for Gerrit sites exposed outside the internal network.If you tell “hey, you should login to see this URL” then you imply that the URL is valid and there is something behind it.I don't see that the "information leakage" justification holds up, at least with the behavior of the plugin since it will prompt you to sign in whatever the URL is.
To unsubscribe, email repo-discuss...@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en
---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/repo-discuss/780cb50d-c1df-4f7c-ac08-d37f26503ebc%40googlegroups.com.
Just thought I’d share that this behavior causes a lot of confusion and frustration for our Gerrit users. It is a universally unpopular change.
We’re +1 for upstreaming this to core Gerrit. If someone needs the “super secret” behavior, it could be a configurable setting.
--Eric
--
--
To unsubscribe, email repo-discuss...@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en
---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-d...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/repo-discuss/4eb3dc87-6f75-48c4-9e7c-f16a7a51ba76%40googlegroups.com.
More info at http://groups.google.com/group/repo-discuss?hl=en
---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-d...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/repo-discuss/CAKSZd3Trwbctv4qZmB-2--a%2BWVCX1yJXQrs-2-1TJp_HO3eR%3Dg%40mail.gmail.com.
--
--
To unsubscribe, email repo-discuss...@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en
---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/repo-discuss/780cb50d-c1df-4f7c-ac08-d37f26503ebc%40googlegroups.com.
--
--
To unsubscribe, email
repo-discuss...@googlegroups.com
More info at
http://groups.google.com/group/repo-discuss?hl=en
---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
repo-discuss...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/repo-discuss/29CC8505-0B3A-463A-9EEB-6398E7A30958%40gmail.com.
On 7 Apr 2020, at 12:25, Eric Peterson <epet...@interactivebrokers.com> wrote:Just thought I’d share that this behavior causes a lot of confusion and frustration for our Gerrit users. It is a universally unpopular change.
On 7 Apr 2020, at 12:25, Eric Peterson <epet...@interactivebrokers.com> wrote:Just thought I’d share that this behavior causes a lot of confusion and frustration for our Gerrit users. It is a universally unpopular change.Yeah, it has been reported a number of times on the mailing list.P.S. I explained *why* we ended up there and the rationale behind it :-) That doesn’t make me one supporter of that feature, but I do understand the concerns of people with public-facing Gerrit and the need of super-secure projects on it.Luca.We’re +1 for upstreaming this to core Gerrit. If someone needs the “super secret” behavior, it could be a configurable setting.
--
--
To unsubscribe, email repo-discuss+unsub...@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en
---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-d...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/repo-discuss/4eb3dc87-6f75-48c4-9e7c-f16a7a51ba76%40googlegroups.com.
More info at http://groups.google.com/group/repo-discuss?hl=en
---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-d...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/repo-discuss/CAKSZd3Trwbctv4qZmB-2--a%2BWVCX1yJXQrs-2-1TJp_HO3eR%3Dg%40mail.gmail.com.
More info at http://groups.google.com/group/repo-discuss?hl=en
---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-d...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/repo-discuss/780cb50d-c1df-4f7c-ac08-d37f26503ebc%40googlegroups.com.
More info at http://groups.google.com/group/repo-discuss?hl=en
---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-d...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/repo-discuss/29CC8505-0B3A-463A-9EEB-6398E7A30958%40gmail.com.