2020-06-26 14:15:05 +02:00
|
|
|
|
<ng-container *ngIf="(authService.user | async) || {} as user">
|
fix(console): cleanup structure, role guard, paginated requests, cleanup policies, toast i18n, view timestamp, preloading strategy, maennchenfindings, fix passwordchange (#483)
* routes, move grid to list comopnent
* rename app list component, move to project sub
* add owned-project-detail child module
* seperate pipes
* set password validators only if needed
* create org initialize without pwd
* no caps
* self xss message
* fix user table
* fix project member paginator
* fix project members pagination, user grant pag
* move project grants, fix imports
* fix owned project detail imports
* use pipe and directives
* ng content bindings, rem custom schemas
* i18n, fix error toast parameter
* toast i18n
* side background
* fix: sequence, add timestamp
* audit
* fix metanav background
* org domain label
* cleanup policy component
* shorten user grant roles, mk cols visible as bind
* move user components, show otp only if available
* preload modules
* fix password change
* fix org create buttons
* class css
2020-07-16 15:13:36 +02:00
|
|
|
|
<ng-container *ngIf="((['iam.read','iam.write'] | hasRole)) as iamuser$">
|
|
|
|
|
|
<mat-toolbar class="root-header">
|
|
|
|
|
|
<button aria-label="Toggle sidenav" mat-icon-button (click)="drawer.toggle()">
|
|
|
|
|
|
<mat-icon aria-label="Side nav toggle icon">menu</mat-icon>
|
|
|
|
|
|
</button>
|
|
|
|
|
|
<a *ngIf="(isHandset$ | async) == false" class="title" [routerLink]="['/']">
|
|
|
|
|
|
<img class="logo" alt="zitadel logo" *ngIf="componentCssClass == 'dark-theme'; else lighttheme"
|
|
|
|
|
|
src="../assets/images/zitadel-logo-oneline-darkdesign.svg" />
|
|
|
|
|
|
<ng-template #lighttheme>
|
|
|
|
|
|
<img alt="zitadel logo" class="logo" src="../assets/images/zitadel-logo-oneline-lightdesign.svg" />
|
|
|
|
|
|
</ng-template>
|
|
|
|
|
|
</a>
|
2020-05-13 14:41:43 +02:00
|
|
|
|
|
fix(console): cleanup structure, role guard, paginated requests, cleanup policies, toast i18n, view timestamp, preloading strategy, maennchenfindings, fix passwordchange (#483)
* routes, move grid to list comopnent
* rename app list component, move to project sub
* add owned-project-detail child module
* seperate pipes
* set password validators only if needed
* create org initialize without pwd
* no caps
* self xss message
* fix user table
* fix project member paginator
* fix project members pagination, user grant pag
* move project grants, fix imports
* fix owned project detail imports
* use pipe and directives
* ng content bindings, rem custom schemas
* i18n, fix error toast parameter
* toast i18n
* side background
* fix: sequence, add timestamp
* audit
* fix metanav background
* org domain label
* cleanup policy component
* shorten user grant roles, mk cols visible as bind
* move user components, show otp only if available
* preload modules
* fix password change
* fix org create buttons
* class css
2020-07-16 15:13:36 +02:00
|
|
|
|
<button (click)="loadOrgs()" *ngIf="profile?.id && org" mat-button
|
|
|
|
|
|
[matMenuTriggerFor]="menu">{{org?.name ? org.name : 'NO NAME'}}
|
|
|
|
|
|
<mat-icon>
|
|
|
|
|
|
arrow_drop_down</mat-icon>
|
2020-06-26 14:15:05 +02:00
|
|
|
|
</button>
|
2020-06-25 12:52:57 +02:00
|
|
|
|
|
fix(console): cleanup structure, role guard, paginated requests, cleanup policies, toast i18n, view timestamp, preloading strategy, maennchenfindings, fix passwordchange (#483)
* routes, move grid to list comopnent
* rename app list component, move to project sub
* add owned-project-detail child module
* seperate pipes
* set password validators only if needed
* create org initialize without pwd
* no caps
* self xss message
* fix user table
* fix project member paginator
* fix project members pagination, user grant pag
* move project grants, fix imports
* fix owned project detail imports
* use pipe and directives
* ng content bindings, rem custom schemas
* i18n, fix error toast parameter
* toast i18n
* side background
* fix: sequence, add timestamp
* audit
* fix metanav background
* org domain label
* cleanup policy component
* shorten user grant roles, mk cols visible as bind
* move user components, show otp only if available
* preload modules
* fix password change
* fix org create buttons
* class css
2020-07-16 15:13:36 +02:00
|
|
|
|
<mat-menu #menu="matMenu">
|
|
|
|
|
|
<mat-progress-bar *ngIf="orgLoading" color="accent" mode="indeterminate"></mat-progress-bar>
|
|
|
|
|
|
<button class="show-all" mat-menu-item
|
|
|
|
|
|
[routerLink]="[ '/org/overview' ]">{{'MENU.SHOWORGS' | translate}}</button>
|
|
|
|
|
|
|
|
|
|
|
|
<button [ngClass]="{'active': temporg.id === org?.id}" [disabled]="!temporg.id"
|
|
|
|
|
|
*ngFor="let temporg of orgs" mat-menu-item (click)="setActiveOrg(temporg)">
|
|
|
|
|
|
{{temporg?.name ? temporg.name : 'NO NAME'}}
|
2020-06-26 14:15:05 +02:00
|
|
|
|
</button>
|
2020-06-10 12:59:12 +02:00
|
|
|
|
|
fix(console): cleanup structure, role guard, paginated requests, cleanup policies, toast i18n, view timestamp, preloading strategy, maennchenfindings, fix passwordchange (#483)
* routes, move grid to list comopnent
* rename app list component, move to project sub
* add owned-project-detail child module
* seperate pipes
* set password validators only if needed
* create org initialize without pwd
* no caps
* self xss message
* fix user table
* fix project member paginator
* fix project members pagination, user grant pag
* move project grants, fix imports
* fix owned project detail imports
* use pipe and directives
* ng content bindings, rem custom schemas
* i18n, fix error toast parameter
* toast i18n
* side background
* fix: sequence, add timestamp
* audit
* fix metanav background
* org domain label
* cleanup policy component
* shorten user grant roles, mk cols visible as bind
* move user components, show otp only if available
* preload modules
* fix password change
* fix org create buttons
* class css
2020-07-16 15:13:36 +02:00
|
|
|
|
<ng-template appHasRole [appHasRole]="['iam.write']">
|
|
|
|
|
|
<button mat-menu-item [routerLink]="[ '/org/create' ]">
|
|
|
|
|
|
<mat-icon class="avatar">add</mat-icon>
|
|
|
|
|
|
{{'MENU.NEWORG' | translate}}
|
|
|
|
|
|
</button>
|
|
|
|
|
|
</ng-template>
|
|
|
|
|
|
</mat-menu>
|
|
|
|
|
|
<span class="fill-space"></span>
|
2020-05-13 14:41:43 +02:00
|
|
|
|
|
fix(console): cleanup structure, role guard, paginated requests, cleanup policies, toast i18n, view timestamp, preloading strategy, maennchenfindings, fix passwordchange (#483)
* routes, move grid to list comopnent
* rename app list component, move to project sub
* add owned-project-detail child module
* seperate pipes
* set password validators only if needed
* create org initialize without pwd
* no caps
* self xss message
* fix user table
* fix project member paginator
* fix project members pagination, user grant pag
* move project grants, fix imports
* fix owned project detail imports
* use pipe and directives
* ng content bindings, rem custom schemas
* i18n, fix error toast parameter
* toast i18n
* side background
* fix: sequence, add timestamp
* audit
* fix metanav background
* org domain label
* cleanup policy component
* shorten user grant roles, mk cols visible as bind
* move user components, show otp only if available
* preload modules
* fix password change
* fix org create buttons
* class css
2020-07-16 15:13:36 +02:00
|
|
|
|
<div (clickOutside)="closeAccountCard()" class="icon-container">
|
|
|
|
|
|
<app-avatar *ngIf="user && (user.displayName || (user.firstName && user.lastName))"
|
|
|
|
|
|
class="avatar dontcloseonclick" (click)="showAccount = !showAccount" [active]="showAccount"
|
|
|
|
|
|
[name]="user.displayName ? user.displayName : (user.firstName + ' '+ user.lastName)" [size]="38">
|
|
|
|
|
|
</app-avatar>
|
|
|
|
|
|
<app-accounts-card @accounts class="a_card mat-elevation-z5" *ngIf="showAccount"
|
|
|
|
|
|
(close)="showAccount = false" [profile]="profile" [iamuser]="iamuser$ | async">
|
|
|
|
|
|
</app-accounts-card>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</mat-toolbar>
|
|
|
|
|
|
<mat-drawer-container class="main-container">
|
|
|
|
|
|
<mat-drawer #drawer class="sidenav" [mode]="(isHandset$ | async) ? 'over' : 'side'"
|
|
|
|
|
|
[opened]="!(isHandset$ | async)">
|
|
|
|
|
|
<div class="side-column">
|
|
|
|
|
|
<div class="list">
|
|
|
|
|
|
<ng-container *ngIf="authService.authenticationChanged | async">
|
|
|
|
|
|
<a class="nav-item" [routerLinkActive]="['active']"
|
|
|
|
|
|
[routerLinkActiveOptions]="{ exact: true }" [routerLink]="['/users/me']">
|
|
|
|
|
|
<i class="icon las la-user-circle"></i>
|
|
|
|
|
|
<span class="label">{{ 'MENU.PERSONAL_INFO' | translate }}</span>
|
|
|
|
|
|
</a>
|
|
|
|
|
|
</ng-container>
|
2020-07-09 18:02:05 +02:00
|
|
|
|
|
fix(console): cleanup structure, role guard, paginated requests, cleanup policies, toast i18n, view timestamp, preloading strategy, maennchenfindings, fix passwordchange (#483)
* routes, move grid to list comopnent
* rename app list component, move to project sub
* add owned-project-detail child module
* seperate pipes
* set password validators only if needed
* create org initialize without pwd
* no caps
* self xss message
* fix user table
* fix project member paginator
* fix project members pagination, user grant pag
* move project grants, fix imports
* fix owned project detail imports
* use pipe and directives
* ng content bindings, rem custom schemas
* i18n, fix error toast parameter
* toast i18n
* side background
* fix: sequence, add timestamp
* audit
* fix metanav background
* org domain label
* cleanup policy component
* shorten user grant roles, mk cols visible as bind
* move user components, show otp only if available
* preload modules
* fix password change
* fix org create buttons
* class css
2020-07-16 15:13:36 +02:00
|
|
|
|
<ng-container *ngIf="iamuser$ | async">
|
|
|
|
|
|
<div class="divider">
|
|
|
|
|
|
<div class="line"></div>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
<a class="nav-item" [routerLinkActive]="['active']" [routerLink]="[ '/iam']">
|
|
|
|
|
|
<i class="icon las la-gem"></i>
|
|
|
|
|
|
<span class="label">{{'MENU.IAM' | translate}}</span>
|
|
|
|
|
|
</a>
|
|
|
|
|
|
</ng-container>
|
2020-07-09 18:02:05 +02:00
|
|
|
|
|
fix(console): cleanup structure, role guard, paginated requests, cleanup policies, toast i18n, view timestamp, preloading strategy, maennchenfindings, fix passwordchange (#483)
* routes, move grid to list comopnent
* rename app list component, move to project sub
* add owned-project-detail child module
* seperate pipes
* set password validators only if needed
* create org initialize without pwd
* no caps
* self xss message
* fix user table
* fix project member paginator
* fix project members pagination, user grant pag
* move project grants, fix imports
* fix owned project detail imports
* use pipe and directives
* ng content bindings, rem custom schemas
* i18n, fix error toast parameter
* toast i18n
* side background
* fix: sequence, add timestamp
* audit
* fix metanav background
* org domain label
* cleanup policy component
* shorten user grant roles, mk cols visible as bind
* move user components, show otp only if available
* preload modules
* fix password change
* fix org create buttons
* class css
2020-07-16 15:13:36 +02:00
|
|
|
|
<ng-template appHasRole [appHasRole]="['org.read']">
|
|
|
|
|
|
<a class="nav-item" [routerLinkActive]="['active']" [routerLink]="[ '/org']">
|
|
|
|
|
|
<i class="icon las la-archway"></i>
|
|
|
|
|
|
<span class="label">{{org?.name ? org.name : 'MENU.ORGANIZATION' | translate}}</span>
|
|
|
|
|
|
</a>
|
|
|
|
|
|
</ng-template>
|
2020-07-09 18:02:05 +02:00
|
|
|
|
|
fix(console): cleanup structure, role guard, paginated requests, cleanup policies, toast i18n, view timestamp, preloading strategy, maennchenfindings, fix passwordchange (#483)
* routes, move grid to list comopnent
* rename app list component, move to project sub
* add owned-project-detail child module
* seperate pipes
* set password validators only if needed
* create org initialize without pwd
* no caps
* self xss message
* fix user table
* fix project member paginator
* fix project members pagination, user grant pag
* move project grants, fix imports
* fix owned project detail imports
* use pipe and directives
* ng content bindings, rem custom schemas
* i18n, fix error toast parameter
* toast i18n
* side background
* fix: sequence, add timestamp
* audit
* fix metanav background
* org domain label
* cleanup policy component
* shorten user grant roles, mk cols visible as bind
* move user components, show otp only if available
* preload modules
* fix password change
* fix org create buttons
* class css
2020-07-16 15:13:36 +02:00
|
|
|
|
<ng-template appHasRole [appHasRole]="['project.read']">
|
|
|
|
|
|
<div class="divider">
|
|
|
|
|
|
<div class="line"></div>
|
|
|
|
|
|
<span>{{'MENU.PROJECTSSECTION' | translate}}</span>
|
|
|
|
|
|
<div class="line"></div>
|
|
|
|
|
|
</div>
|
2020-07-09 18:02:05 +02:00
|
|
|
|
|
fix(console): cleanup structure, role guard, paginated requests, cleanup policies, toast i18n, view timestamp, preloading strategy, maennchenfindings, fix passwordchange (#483)
* routes, move grid to list comopnent
* rename app list component, move to project sub
* add owned-project-detail child module
* seperate pipes
* set password validators only if needed
* create org initialize without pwd
* no caps
* self xss message
* fix user table
* fix project member paginator
* fix project members pagination, user grant pag
* move project grants, fix imports
* fix owned project detail imports
* use pipe and directives
* ng content bindings, rem custom schemas
* i18n, fix error toast parameter
* toast i18n
* side background
* fix: sequence, add timestamp
* audit
* fix metanav background
* org domain label
* cleanup policy component
* shorten user grant roles, mk cols visible as bind
* move user components, show otp only if available
* preload modules
* fix password change
* fix org create buttons
* class css
2020-07-16 15:13:36 +02:00
|
|
|
|
<a class="nav-item" [routerLinkActive]="['active']" [routerLink]="[ '/projects']">
|
|
|
|
|
|
<i class="icon las la-layer-group"></i>
|
|
|
|
|
|
<span class="label">{{org?.name ? org.name : 'MENU.ORGANIZATION' | translate}}
|
|
|
|
|
|
{{ 'MENU.PROJECT' | translate }}</span>
|
|
|
|
|
|
</a>
|
2020-07-09 18:02:05 +02:00
|
|
|
|
|
fix(console): cleanup structure, role guard, paginated requests, cleanup policies, toast i18n, view timestamp, preloading strategy, maennchenfindings, fix passwordchange (#483)
* routes, move grid to list comopnent
* rename app list component, move to project sub
* add owned-project-detail child module
* seperate pipes
* set password validators only if needed
* create org initialize without pwd
* no caps
* self xss message
* fix user table
* fix project member paginator
* fix project members pagination, user grant pag
* move project grants, fix imports
* fix owned project detail imports
* use pipe and directives
* ng content bindings, rem custom schemas
* i18n, fix error toast parameter
* toast i18n
* side background
* fix: sequence, add timestamp
* audit
* fix metanav background
* org domain label
* cleanup policy component
* shorten user grant roles, mk cols visible as bind
* move user components, show otp only if available
* preload modules
* fix password change
* fix org create buttons
* class css
2020-07-16 15:13:36 +02:00
|
|
|
|
<a class="nav-item" [routerLinkActive]="['active']" [routerLink]="[ '/granted-projects']">
|
|
|
|
|
|
<i class="icon las la-layer-group"></i>
|
|
|
|
|
|
<span class="label">{{ 'MENU.GRANTEDPROJECT' | translate }}</span>
|
|
|
|
|
|
</a>
|
|
|
|
|
|
</ng-template>
|
2020-07-09 18:02:05 +02:00
|
|
|
|
|
fix(console): cleanup structure, role guard, paginated requests, cleanup policies, toast i18n, view timestamp, preloading strategy, maennchenfindings, fix passwordchange (#483)
* routes, move grid to list comopnent
* rename app list component, move to project sub
* add owned-project-detail child module
* seperate pipes
* set password validators only if needed
* create org initialize without pwd
* no caps
* self xss message
* fix user table
* fix project member paginator
* fix project members pagination, user grant pag
* move project grants, fix imports
* fix owned project detail imports
* use pipe and directives
* ng content bindings, rem custom schemas
* i18n, fix error toast parameter
* toast i18n
* side background
* fix: sequence, add timestamp
* audit
* fix metanav background
* org domain label
* cleanup policy component
* shorten user grant roles, mk cols visible as bind
* move user components, show otp only if available
* preload modules
* fix password change
* fix org create buttons
* class css
2020-07-16 15:13:36 +02:00
|
|
|
|
<ng-template appHasRole [appHasRole]="['user.read']">
|
|
|
|
|
|
<div class="divider">
|
|
|
|
|
|
<div class="line"></div>
|
|
|
|
|
|
<span class="label">
|
|
|
|
|
|
{{ 'MENU.USERSECTION' | translate }}</span>
|
|
|
|
|
|
<div class="line"></div>
|
|
|
|
|
|
</div>
|
2020-06-26 14:15:05 +02:00
|
|
|
|
|
fix(console): cleanup structure, role guard, paginated requests, cleanup policies, toast i18n, view timestamp, preloading strategy, maennchenfindings, fix passwordchange (#483)
* routes, move grid to list comopnent
* rename app list component, move to project sub
* add owned-project-detail child module
* seperate pipes
* set password validators only if needed
* create org initialize without pwd
* no caps
* self xss message
* fix user table
* fix project member paginator
* fix project members pagination, user grant pag
* move project grants, fix imports
* fix owned project detail imports
* use pipe and directives
* ng content bindings, rem custom schemas
* i18n, fix error toast parameter
* toast i18n
* side background
* fix: sequence, add timestamp
* audit
* fix metanav background
* org domain label
* cleanup policy component
* shorten user grant roles, mk cols visible as bind
* move user components, show otp only if available
* preload modules
* fix password change
* fix org create buttons
* class css
2020-07-16 15:13:36 +02:00
|
|
|
|
<a class="nav-item" [routerLinkActive]="['active']" [routerLink]="[ '/users/all']"
|
|
|
|
|
|
[routerLinkActiveOptions]="{ exact: true }">
|
|
|
|
|
|
<i class="icon las la-users"></i>
|
|
|
|
|
|
<span class="label">{{ 'MENU.USER' | translate }}</span>
|
|
|
|
|
|
</a>
|
|
|
|
|
|
</ng-template>
|
|
|
|
|
|
|
|
|
|
|
|
<span class="fill-space"></span>
|
|
|
|
|
|
</div>
|
2020-06-26 14:15:05 +02:00
|
|
|
|
<span class="fill-space"></span>
|
|
|
|
|
|
</div>
|
fix(console): cleanup structure, role guard, paginated requests, cleanup policies, toast i18n, view timestamp, preloading strategy, maennchenfindings, fix passwordchange (#483)
* routes, move grid to list comopnent
* rename app list component, move to project sub
* add owned-project-detail child module
* seperate pipes
* set password validators only if needed
* create org initialize without pwd
* no caps
* self xss message
* fix user table
* fix project member paginator
* fix project members pagination, user grant pag
* move project grants, fix imports
* fix owned project detail imports
* use pipe and directives
* ng content bindings, rem custom schemas
* i18n, fix error toast parameter
* toast i18n
* side background
* fix: sequence, add timestamp
* audit
* fix metanav background
* org domain label
* cleanup policy component
* shorten user grant roles, mk cols visible as bind
* move user components, show otp only if available
* preload modules
* fix password change
* fix org create buttons
* class css
2020-07-16 15:13:36 +02:00
|
|
|
|
</mat-drawer>
|
|
|
|
|
|
<mat-drawer-content class="content">
|
|
|
|
|
|
<div *ngIf="iamuser$ | async" class="admin-line" matTooltip="IAM Administrator">
|
2020-06-26 14:15:05 +02:00
|
|
|
|
<span>{{'MENU.IAMADMIN' | translate}}</span>
|
|
|
|
|
|
</div>
|
fix(console): cleanup structure, role guard, paginated requests, cleanup policies, toast i18n, view timestamp, preloading strategy, maennchenfindings, fix passwordchange (#483)
* routes, move grid to list comopnent
* rename app list component, move to project sub
* add owned-project-detail child module
* seperate pipes
* set password validators only if needed
* create org initialize without pwd
* no caps
* self xss message
* fix user table
* fix project member paginator
* fix project members pagination, user grant pag
* move project grants, fix imports
* fix owned project detail imports
* use pipe and directives
* ng content bindings, rem custom schemas
* i18n, fix error toast parameter
* toast i18n
* side background
* fix: sequence, add timestamp
* audit
* fix metanav background
* org domain label
* cleanup policy component
* shorten user grant roles, mk cols visible as bind
* move user components, show otp only if available
* preload modules
* fix password change
* fix org create buttons
* class css
2020-07-16 15:13:36 +02:00
|
|
|
|
<div class="router" [@routeAnimations]="prepareRoute(outlet)">
|
|
|
|
|
|
<router-outlet #outlet="outlet"></router-outlet>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</mat-drawer-content>
|
|
|
|
|
|
</mat-drawer-container>
|
|
|
|
|
|
</ng-container>
|
2020-07-09 10:54:55 +02:00
|
|
|
|
</ng-container>
|