PolyGerrit: Fix adding and deleting members in groups

In GWTUI the search member bar and adding members was always shown.

Lets do the same as there is no rest api to detect weather a user
can add, remove or delete members.

Change-Id: I1275ad5071b0f0ddde2090a2faa26c31595df6aa
This commit is contained in:
Paladox none
2017-08-21 18:00:20 +00:00
parent 6942c1ba48
commit fc2ff254b8
10 changed files with 156 additions and 75 deletions

View File

@@ -447,7 +447,8 @@
this._mapRoute(RoutePattern.GROUP_AUDIT_LOG, '_handleGroupAuditLogRoute',
true);
this._mapRoute(RoutePattern.GROUP_MEMBERS, '_handleGroupMembersRoute');
this._mapRoute(RoutePattern.GROUP_MEMBERS, '_handleGroupMembersRoute',
true);
this._mapRoute(RoutePattern.GROUP_LIST_OFFSET,
'_handleGroupListOffsetRoute', true);

View File

@@ -133,6 +133,7 @@ limitations under the License.
'_handleGroupListFilterOffsetRoute',
'_handleGroupListFilterRoute',
'_handleGroupListOffsetRoute',
'_handleGroupMembersRoute',
'_handleGroupRoute',
'_handlePluginListFilterOffsetRoute',
'_handlePluginListFilterRoute',
@@ -153,7 +154,6 @@ limitations under the License.
'_handleDefaultRoute',
'_handleChangeLegacyRoute',
'_handleDiffLegacyRoute',
'_handleGroupMembersRoute',
'_handleImproperlyEncodedPlusRoute',
'_handlePassThroughRoute',
'_handleProjectAccessRoute',