Skip to content

Commit 66782e5

Browse files
MB-46980: show 'move to' if user has write permission
Change-Id: I6a48c53e7865fb405266d4d07b68a2ff975c47ba Reviewed-on: http://review.couchbase.org/c/ns_server/+/159012 Well-Formed: Build Bot <[email protected]> Tested-by: Pavel Blagodov <[email protected]> Reviewed-by: Matthew <[email protected]>
1 parent 7af9d40 commit 66782e5

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

priv/public/ui/app/mn_admin/mn_groups.html

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,11 @@ <h4 class="ellipsis">{{group.name}}&nbsp;
8282
</span>
8383
<span class="cbui-table-cell wrap text-right">
8484
<div uib-dropdown ng-show="!server.toGroupPending && groupsCtl.state.groups.length > 1" class="mn-dropdown-menu">
85-
<div uib-dropdown-toggle class="menu-toggle">move to <span class="icon fa-caret-down"></span></div>
85+
<div
86+
ng-show="rbac.cluster.server_groups.write"
87+
uib-dropdown-toggle class="menu-toggle">move to
88+
<span class="icon fa-caret-down"></span>
89+
</div>
8690
<div uib-dropdown-menu class="dropdown-menu-select-like">
8791
<a
8892
ng-show="groupNew.name !== group.name"

0 commit comments

Comments
 (0)