Skip to content

Commit d246283

Browse files
MB-46980: show "delete group" if user has write permission
Change-Id: I03e36df0882c13c030d9510770b209b29716a3a2 Reviewed-on: http://review.couchbase.org/c/ns_server/+/159013 Well-Formed: Build Bot <[email protected]> Tested-by: Pavel Blagodov <[email protected]> Reviewed-by: Pavel Blagodov <[email protected]> Reviewed-by: Matthew <[email protected]>
1 parent 66782e5 commit d246283

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ <h4 class="ellipsis">{{group.name}}&nbsp;
114114
This group is empty.
115115
<a
116116
ng-click="groupsCtl.deleteGroup(group)"
117+
ng-show="rbac.cluster.server_groups.write"
117118
class="indent-1">
118119
delete group
119120
</a>

0 commit comments

Comments
 (0)