Skip to content

Commit

Permalink
removes Admin button (#800)
Browse files Browse the repository at this point in the history
the button allowed to copy admin token into the clipboard
since this is a security concern we decided to remove this functionality.
  • Loading branch information
p0lyn0mial authored Sep 28, 2018
1 parent d2888ff commit 54ff9c9
Showing 1 changed file with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -130,13 +130,7 @@
<div fxFlex="50%">
<strong>Tokens</strong>
</div>
<div fxFlex="50%">
<!-- <div class="clickable inline copy" ngxClipboard [cbContent]="cluster.address['adminToken']" matTooltip="click to copy"> -->
<div class="clickable inline copy" matTooltip="click to copy">
<span class="iconDocuments"></span>
<strong>Admin</strong>
</div>
<strong class="inlineSeperator"> / </strong>
<div>
<div class="clickable inline" (click)="revokeAdminTokenDialog()">
<button [disabled]="!!userGroup && !userGroupConfig[userGroup].clusters.edit">Revoke</button>
</div>
Expand Down

0 comments on commit 54ff9c9

Please sign in to comment.