Hide assignee by default in Gerrit changes table

Keep backward-compatible behaviour for users coming
from Gerrit < 2.14 and not interested in the assignee
workflow.

The assignee feature will still be accessible through a second
configuration setting (showAssigneeSuggestOracle) that controls
the ability to suggest searching of the changes by assignee.

Typically people and organisations that want to use the
feature massively, will then enable it in the gerrit.config
to be more prevalent on the changes table.

When both showAssignee and showAssigneeSuggestOracle are
set to false, the feature is not accessible anymore because
you cannot neither see nor search for changes by assignee.

Change-Id: Ie826c126b5508c9013ee4f802f6bcfaff95cef76
This commit is contained in:
Luca Milanesio
2017-04-06 09:59:11 +01:00
parent 596fff00cc
commit 50057ff887
6 changed files with 26 additions and 6 deletions

View File

@@ -72,6 +72,9 @@ public class ServerInfo extends JavaScriptObject {
public final native boolean showAssignee() /*-{ return this.show_assignee || false; }-*/;
public final native boolean
showAssigneeSuggestOracle() /*-{ return this.show_assignee_suggest_oracle || false; }-*/;
public final native int updateDelay() /*-{ return this.update_delay || 0; }-*/;
public final native boolean isSubmitWholeTopicEnabled() /*-{