mirror of
https://github.com/andwati/zitadel.git
synced 2026-10-24 16:22:16 +00:00
* chore(deps): bump flag-icons from 6.9.3 to 7.1.0 in /console (#7092) Bumps [flag-icons](https://github.com/lipis/flag-icons) from 6.9.3 to 7.1.0. - [Release notes](https://github.com/lipis/flag-icons/releases) - [Changelog](https://github.com/lipis/flag-icons/blob/main/CHANGELOG.md) - [Commits](https://github.com/lipis/flag-icons/compare/v6.9.3...v7.1.0) --- updated-dependencies: - dependency-name: flag-icons dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump prettier from 3.0.3 to 3.1.1 in /console (#7058) Bumps [prettier](https://github.com/prettier/prettier) from 3.0.3 to 3.1.1. - [Release notes](https://github.com/prettier/prettier/releases) - [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md) - [Commits](https://github.com/prettier/prettier/compare/3.0.3...3.1.1) --- updated-dependencies: - dependency-name: prettier dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump uuid and @types/uuid in /console (#6993) Bumps [uuid](https://github.com/uuidjs/uuid) and [@types/uuid](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/uuid). These dependencies needed to be updated together. Updates `uuid` from 9.0.0 to 9.0.1 - [Changelog](https://github.com/uuidjs/uuid/blob/main/CHANGELOG.md) - [Commits](https://github.com/uuidjs/uuid/compare/v9.0.0...v9.0.1) Updates `@types/uuid` from 9.0.2 to 9.0.7 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/uuid) --- updated-dependencies: - dependency-name: uuid dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: "@types/uuid" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * zonejs * chore(deps-dev): bump @types/jasmine from 4.3.6 to 5.1.4 in /console (#6991) Bumps [@types/jasmine](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jasmine) from 4.3.6 to 5.1.4. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jasmine) --- updated-dependencies: - dependency-name: "@types/jasmine" dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump i18n-iso-countries from 7.6.0 to 7.7.0 in /console (#6990) Bumps [i18n-iso-countries](https://github.com/michaelwittig/node-i18n-iso-countries) from 7.6.0 to 7.7.0. - [Release notes](https://github.com/michaelwittig/node-i18n-iso-countries/releases) - [Commits](https://github.com/michaelwittig/node-i18n-iso-countries/compare/v7.6.0...v7.7.0) --- updated-dependencies: - dependency-name: i18n-iso-countries dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * jasmine * prettier plugin * chore(deps-dev): bump @types/opentype.js from 1.3.4 to 1.3.8 in /console (#6985) Bumps [@types/opentype.js](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/opentype.js) from 1.3.4 to 1.3.8. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/opentype.js) --- updated-dependencies: - dependency-name: "@types/opentype.js" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump postcss from 8.4.21 to 8.4.31 in /docs (#6674) Bumps [postcss](https://github.com/postcss/postcss) from 8.4.21 to 8.4.31. - [Release notes](https://github.com/postcss/postcss/releases) - [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md) - [Commits](https://github.com/postcss/postcss/compare/8.4.21...8.4.31) --- updated-dependencies: - dependency-name: postcss dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump axios and wait-on in /e2e (#7073) Bumps [axios](https://github.com/axios/axios) to 1.6.2 and updates ancestor dependency [wait-on](https://github.com/jeffbski/wait-on). These dependencies need to be updated together. Updates `axios` from 0.25.0 to 1.6.2 - [Release notes](https://github.com/axios/axios/releases) - [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md) - [Commits](https://github.com/axios/axios/compare/v0.25.0...v1.6.2) Updates `wait-on` from 6.0.1 to 7.2.0 - [Release notes](https://github.com/jeffbski/wait-on/releases) - [Commits](https://github.com/jeffbski/wait-on/compare/v6.0.1...v7.2.0) --- updated-dependencies: - dependency-name: axios dependency-type: indirect - dependency-name: wait-on dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * lint changes * lint --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
225 lines
9.6 KiB
HTML
225 lines
9.6 KiB
HTML
<cnsl-refresh-table
|
|
[loading]="loading$ | async"
|
|
(refreshed)="refreshPage()"
|
|
[dataSize]="dataSource.data.length"
|
|
[emitRefreshOnPreviousRoutes]="['/instance/idp/create']"
|
|
[timestamp]="idpResult?.details?.viewTimestamp"
|
|
[selection]="selection"
|
|
[hideRefresh]="true"
|
|
>
|
|
<div class="table-wrapper">
|
|
<table class="table" mat-table [dataSource]="dataSource">
|
|
<ng-container matColumnDef="availability">
|
|
<th class="availability" mat-header-cell *matHeaderCellDef>
|
|
<span>{{ 'IDP.AVAILABILITY' | translate }}</span>
|
|
</th>
|
|
<td class="pointer availability" mat-cell *matCellDef="let idp">
|
|
<i
|
|
matTooltip="{{ 'IDP.AVAILABLE' | translate }}"
|
|
*ngIf="isEnabled(idp) && idp.state === IDPState.IDP_STATE_ACTIVE"
|
|
class="idp-available las la-check-circle"
|
|
></i>
|
|
<i
|
|
matTooltip="{{ 'IDP.AVAILABLEBUTINACTIVE' | translate }}"
|
|
*ngIf="isEnabled(idp) && idp.state === IDPState.IDP_STATE_INACTIVE"
|
|
class="idp-not-available las la-check-circle"
|
|
></i>
|
|
</td>
|
|
</ng-container>
|
|
|
|
<ng-container matColumnDef="name">
|
|
<th mat-header-cell *matHeaderCellDef>{{ 'IDP.NAME' | translate }}</th>
|
|
<td class="pointer" mat-cell *matCellDef="let idp">
|
|
<span>{{ idp?.name }}</span>
|
|
</td>
|
|
</ng-container>
|
|
|
|
<ng-container matColumnDef="type">
|
|
<th mat-header-cell *matHeaderCellDef>{{ 'IDP.TYPE' | translate }}</th>
|
|
<td class="pointer" mat-cell *matCellDef="let idp">
|
|
<div [ngSwitch]="idp.type">
|
|
<div class="idp-table-provider-type" *ngSwitchCase="ProviderType.PROVIDER_TYPE_AZURE_AD">
|
|
<img class="idp-logo" src="./assets/images/idp/ms.svg" alt="azure ad" />
|
|
Microsoft
|
|
</div>
|
|
<div class="idp-table-provider-type" *ngSwitchCase="ProviderType.PROVIDER_TYPE_GOOGLE">
|
|
<img class="idp-logo" src="./assets/images/idp/google.png" alt="google" />
|
|
Google
|
|
</div>
|
|
<div class="idp-table-provider-type" *ngSwitchCase="ProviderType.PROVIDER_TYPE_GITHUB">
|
|
<img class="idp-logo dark" src="./assets/images/idp/github-dark.svg" alt="github" />
|
|
<img class="idp-logo light" src="./assets/images/idp/github.svg" alt="github" />
|
|
GitHub
|
|
</div>
|
|
<div class="idp-table-provider-type" *ngSwitchCase="ProviderType.PROVIDER_TYPE_OIDC">
|
|
<mat-icon class="idp-icon" svgIcon="mdi_openid" alt="oidc" />
|
|
Generic OIDC
|
|
</div>
|
|
<div class="idp-table-provider-type" *ngSwitchCase="ProviderType.PROVIDER_TYPE_OAUTH">
|
|
<img class="idp-logo" src="./assets/images/idp/oauth.svg" alt="oauth" />
|
|
Generic OAuth
|
|
</div>
|
|
<div class="idp-table-provider-type" *ngSwitchCase="ProviderType.PROVIDER_TYPE_JWT">
|
|
<mat-icon class="idp-icon" svgIcon="mdi_jwt" alt="jwt" />
|
|
Generic JWT
|
|
</div>
|
|
<div class="idp-table-provider-type" *ngSwitchCase="ProviderType.PROVIDER_TYPE_GITLAB">
|
|
<img class="idp-logo" src="./assets/images/idp/gitlab.svg" alt="gitlab" />
|
|
Gitlab
|
|
</div>
|
|
<div class="idp-table-provider-type" *ngSwitchCase="ProviderType.PROVIDER_TYPE_GITLAB_SELF_HOSTED">
|
|
<img class="idp-logo" src="./assets/images/idp/gitlab.svg" alt="gitlab self hosted" />
|
|
Gitlab Self Hosted
|
|
</div>
|
|
<div class="idp-table-provider-type" *ngSwitchCase="ProviderType.PROVIDER_TYPE_GITHUB_ES">
|
|
<img class="idp-logo dark" src="./assets/images/idp/github-dark.svg" alt="github" />
|
|
<img class="idp-logo light" src="./assets/images/idp/github.svg" alt="github" />
|
|
GitHub Enterprise Server
|
|
</div>
|
|
<div class="idp-table-provider-type" *ngSwitchCase="ProviderType.PROVIDER_TYPE_LDAP">
|
|
<i class="idp-icon las la-building"></i>
|
|
Active Directory / LDAP
|
|
</div>
|
|
<div class="idp-table-provider-type" *ngSwitchCase="ProviderType.PROVIDER_TYPE_APPLE">
|
|
<img class="idp-logo apple dark" src="./assets/images/idp/apple-dark.svg" alt="apple" />
|
|
<img class="idp-logo apple light" src="./assets/images/idp/apple.svg" alt="apple" />
|
|
Apple
|
|
</div>
|
|
<div class="idp-table-provider-type" *ngSwitchCase="ProviderType.PROVIDER_TYPE_SAML">
|
|
<img class="idp-logo" src="./assets/images/idp/saml-icon.svg" alt="saml" />
|
|
SAML SP
|
|
</div>
|
|
<div class="idp-table-provider-type" *ngSwitchDefault>coming soon</div>
|
|
</div>
|
|
</td>
|
|
</ng-container>
|
|
|
|
<ng-container matColumnDef="state">
|
|
<th mat-header-cell *matHeaderCellDef>{{ 'IDP.STATE' | translate }}</th>
|
|
<td class="pointer" mat-cell *matCellDef="let idp">
|
|
<span
|
|
class="state"
|
|
[ngClass]="{
|
|
active: idp.state === IDPState.IDP_STATE_ACTIVE,
|
|
inactive: idp.state === IDPState.IDP_STATE_INACTIVE
|
|
}"
|
|
>{{ 'IDP.STATES.' + idp.state | translate }}</span
|
|
>
|
|
</td>
|
|
</ng-container>
|
|
|
|
<ng-container matColumnDef="creationDate">
|
|
<th mat-header-cell *matHeaderCellDef>{{ 'IDP.CREATIONDATE' | translate }}</th>
|
|
<td class="pointer" mat-cell *matCellDef="let idp">
|
|
<span>{{ idp.details.creationDate | timestampToDate | localizedDate: 'dd. MMM, HH:mm' }}</span>
|
|
</td>
|
|
</ng-container>
|
|
|
|
<ng-container matColumnDef="changeDate">
|
|
<th mat-header-cell *matHeaderCellDef>{{ 'IDP.CHANGEDATE' | translate }}</th>
|
|
<td class="pointer" mat-cell *matCellDef="let idp">
|
|
<span>{{ idp.details.changeDate | timestampToDate | localizedDate: 'dd. MMM, HH:mm' }}</span>
|
|
</td>
|
|
</ng-container>
|
|
|
|
<ng-container matColumnDef="owner">
|
|
<th mat-header-cell *matHeaderCellDef>{{ 'IDP.OWNER' | translate }}</th>
|
|
<td class="pointer" mat-cell *matCellDef="let idp">
|
|
{{ 'IDP.OWNERTYPES.' + idp.owner | translate }}
|
|
</td>
|
|
</ng-container>
|
|
|
|
<ng-container matColumnDef="actions" stickyEnd>
|
|
<th class="idp-table-actions" mat-header-cell *matHeaderCellDef></th>
|
|
<td class="idp-table-actions" mat-cell *matCellDef="let idp">
|
|
<cnsl-table-actions>
|
|
<button
|
|
actions
|
|
*ngIf="!isEnabled(idp)"
|
|
[disabled]="
|
|
([
|
|
serviceType === PolicyComponentServiceType.ADMIN
|
|
? 'iam.idp.write'
|
|
: serviceType === PolicyComponentServiceType.MGMT
|
|
? 'org.idp.write'
|
|
: ''
|
|
]
|
|
| hasRole
|
|
| async) === false
|
|
"
|
|
mat-icon-button
|
|
matTooltip="{{ 'IDP.SETAVAILABLE' | translate }}"
|
|
(click)="addIdp(idp); $event.stopPropagation()"
|
|
>
|
|
<i class="las la-check-circle"></i>
|
|
</button>
|
|
<button
|
|
actions
|
|
*ngIf="isEnabled(idp)"
|
|
[disabled]="
|
|
([
|
|
serviceType === PolicyComponentServiceType.ADMIN
|
|
? 'iam.idp.write'
|
|
: serviceType === PolicyComponentServiceType.MGMT
|
|
? 'org.idp.write'
|
|
: ''
|
|
]
|
|
| hasRole
|
|
| async) === false
|
|
"
|
|
mat-icon-button
|
|
matTooltip="{{ 'IDP.SETUNAVAILABLE' | translate }}"
|
|
(click)="removeIdp(idp); $event.stopPropagation()"
|
|
>
|
|
<i class="las la-times-circle"></i>
|
|
</button>
|
|
<button
|
|
actions
|
|
*ngIf="
|
|
(serviceType === PolicyComponentServiceType.MGMT && idp.owner === IDPOwnerType.IDP_OWNER_TYPE_ORG) ||
|
|
(serviceType === PolicyComponentServiceType.ADMIN && idp.owner === IDPOwnerType.IDP_OWNER_TYPE_SYSTEM)
|
|
"
|
|
[disabled]="
|
|
(serviceType === PolicyComponentServiceType.MGMT && idp?.providerType === IDPOwnerType.IDP_OWNER_TYPE_ORG) ||
|
|
([
|
|
serviceType === PolicyComponentServiceType.ADMIN
|
|
? 'iam.idp.write'
|
|
: serviceType === PolicyComponentServiceType.MGMT
|
|
? 'org.idp.write'
|
|
: ''
|
|
]
|
|
| hasRole
|
|
| async) === false
|
|
"
|
|
mat-icon-button
|
|
color="warn"
|
|
matTooltip="{{ 'ACTIONS.REMOVE' | translate }}"
|
|
(click)="deleteIdp(idp); $event.stopPropagation()"
|
|
>
|
|
<i class="las la-trash"></i>
|
|
</button>
|
|
</cnsl-table-actions>
|
|
</td>
|
|
</ng-container>
|
|
|
|
<tr mat-header-row *matHeaderRowDef="displayedColumns"></tr>
|
|
<tr class="highlight" (click)="navigateToIDP(row)" mat-row *matRowDef="let row; columns: displayedColumns"></tr>
|
|
</table>
|
|
</div>
|
|
|
|
<div *ngIf="(loading$ | async) === false && !dataSource?.data?.length" class="no-content-row">
|
|
<i class="las la-exclamation"></i>
|
|
<span>{{ 'IDP.EMPTY' | translate }}</span>
|
|
</div>
|
|
|
|
<cnsl-paginator
|
|
#paginator
|
|
class="paginator"
|
|
[timestamp]="idpResult?.details?.viewTimestamp"
|
|
[length]="idpResult?.details?.totalResult || 0"
|
|
[pageSize]="10"
|
|
[pageSizeOptions]="[10, 20, 50, 100]"
|
|
(page)="changePage($event)"
|
|
></cnsl-paginator>
|
|
</cnsl-refresh-table>
|