Skip to content

Commit

Permalink
ADS-770
Browse files Browse the repository at this point in the history
  • Loading branch information
Asmoday committed Dec 7, 2023
1 parent 1588ca7 commit a49051d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
Buckets
</mat-button-toggle>
<mat-button-toggle
[disabled]="nfRegistryService.currentUser.anonymous || !nfRegistryService.currentUser.resourcePermissions.tenants.canRead"
[disabled]="!nfRegistryService.currentUser.resourcePermissions.tenants.canRead"
[matTooltip]="getUserTooltip()"
[checked]="nfRegistryService.adminPerspective === 'users'" value="users" class="uppercase"
(change)="navigateToAdminPerspective($event)"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,6 @@ NfRegistryAdministration.prototype = {
* @returns {*}
*/
getUserTooltip: function () {
if (this.nfRegistryService.currentUser.anonymous) {
return 'Please configure NiFi Registry security to enable.';
}

if (!this.nfRegistryService.currentUser.resourcePermissions.tenants.canRead) {
return 'You do not have permission. Please contact your System Administrator.';
}
Expand Down

0 comments on commit a49051d

Please sign in to comment.