From 0bf30451429cfee1792326506ee885f7e5cc4e42 Mon Sep 17 00:00:00 2001 From: Ilia Choly Date: Wed, 8 Apr 2026 05:02:56 -0400 Subject: [PATCH] fix(console): always show settings page to admin (#11779) # Which Problems Are Solved The settings tab is hidden when there's only 1 organization. This was very confusing when I created an IdP using terraform and then could not find it. I eventually found the `gs` shortcut which brought me to the org settings. This was last touched here #10912 # How the Problems Are Solved Always show the settings tab, even if there's just 1 org. Co-authored-by: Ramon --- console/src/app/modules/nav/nav.component.html | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/console/src/app/modules/nav/nav.component.html b/console/src/app/modules/nav/nav.component.html index d61b750d9..9f70a64fd 100644 --- a/console/src/app/modules/nav/nav.component.html +++ b/console/src/app/modules/nav/nav.component.html @@ -96,12 +96,7 @@ [routerLinkActive]="['active']" [routerLinkActiveOptions]="{ exact: false }" [routerLink]="['/org-settings']" - *ngIf=" - (['policy.read'] | hasRole | async) && - ((['iam.read$', 'iam.write$'] | hasRole | async) === false || - (((authService.cachedOrgs | async)?.length ?? 1) > 1 && - (['iam.read$', 'iam.write$'] | hasRole | async))) - " + *ngIf="['policy.read'] | hasRole | async" > {{ 'MENU.SETTINGS' | translate }}