2020-05-13 14:41:43 +02:00
|
|
|
<h1>{{'ORG.POLICY.TITLE' | translate}}</h1>
|
|
|
|
|
|
|
|
<p class="top-desc">{{'ORG.POLICY.DESCRIPTION' | translate}}</p>
|
|
|
|
|
|
|
|
<div class="row-lyt">
|
|
|
|
<div class="p-item card">
|
|
|
|
<div class="avatar">
|
2020-07-30 16:54:15 +02:00
|
|
|
<mat-icon class="icon" svgIcon="mdi_textbox_password"></mat-icon>
|
2020-05-13 14:41:43 +02:00
|
|
|
</div>
|
|
|
|
<div class="title">
|
|
|
|
<span>{{'ORG.POLICY.PWD_COMPLEXITY.TITLE' | translate}}</span>
|
|
|
|
<button mat-icon-button disabled>
|
2020-06-25 12:52:57 +02:00
|
|
|
<i *ngIf="complexityPolicy" class="icon las la-check-circle"></i>
|
2020-05-13 14:41:43 +02:00
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<p *ngIf="complexityPolicy?.description; else showDescComplexity" class="desc">
|
|
|
|
{{ complexityPolicy.description }}</p>
|
|
|
|
<ng-template #showDescComplexity>
|
|
|
|
<p class="desc">
|
|
|
|
{{'ORG.POLICY.PWD_COMPLEXITY.DESCRIPTION' | translate}}</p>
|
|
|
|
</ng-template>
|
|
|
|
|
|
|
|
<span class="fill-space"></span>
|
|
|
|
<div class="btn-wrapper">
|
|
|
|
<button [disabled]="complexityPolicy" [routerLink]="[ 'policy', PolicyComponentType.COMPLEXITY,'create' ]"
|
|
|
|
color="primary" mat-raised-button>{{'ORG.POLICY.BTN_INSTALL' | translate}}</button>
|
|
|
|
<button [disabled]="!complexityPolicy" [routerLink]="[ 'policy', PolicyComponentType.COMPLEXITY ]"
|
2020-08-13 07:42:16 +02:00
|
|
|
mat-stroked-button>{{'ORG.POLICY.BTN_EDIT' | translate}}</button>
|
2020-05-13 14:41:43 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2020-06-25 12:52:57 +02:00
|
|
|
<ng-template appHasRole [appHasRole]="['iam.policy.read']">
|
|
|
|
<div class="p-item card">
|
2020-07-30 16:54:15 +02:00
|
|
|
<div class="avatar">
|
|
|
|
<i class="icon las la-gem"></i>
|
2020-06-25 12:52:57 +02:00
|
|
|
</div>
|
|
|
|
<div class="title">
|
|
|
|
<span>{{'ORG.POLICY.IAM_POLICY.TITLE' | translate}}</span>
|
|
|
|
<button mat-icon-button disabled>
|
|
|
|
<i *ngIf="iamPolicy" class="icon las la-check-circle"></i>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<p *ngIf="iamPolicy?.description; else showDescIAM" class="desc">
|
|
|
|
{{ iamPolicy.description }}</p>
|
|
|
|
<ng-template #showDescIAM>
|
|
|
|
<p class="desc">
|
|
|
|
{{'ORG.POLICY.IAM_POLICY.DESCRIPTION' | translate}}</p>
|
|
|
|
</ng-template>
|
|
|
|
|
|
|
|
<span class="fill-space"></span>
|
|
|
|
<div class="btn-wrapper">
|
|
|
|
<ng-template appHasRole [appHasRole]="['iam.policy.write']">
|
feat(console): identity providers and login policies (#722)
* idp list, idp create route
* idp modules, lazy import, i18n, routing
* generic service, i18n
* seperate lockout, age policy component
* seperate component modules
* routing
* enum class
* login policy
* iam policy grid
* login policy providers
* idps login policy
* add idp dialog component
* add idp to loginpolicy
* delete idp config, iam policy grid
* remove idp from loginpolicy
* idp detail component, generic idp create
* lint
* idp detail clientid-secrets, issuer, scopes
* hide clientsecret on update
* rm background style, idp config
* app tooltip fix
* lint
* dont refresh on idp select
* Update console/src/app/modules/idp-create/idp-create.component.html
Co-authored-by: Fabiennne <fabienne.gerschwiler@gmail.com>
Co-authored-by: Fabi <38692350+fgerschwiler@users.noreply.github.com>
2020-09-17 10:22:41 +02:00
|
|
|
<button [disabled]="iamPolicy" [routerLink]="[ 'policy', PolicyComponentType.IAM,'create' ]"
|
2020-06-25 12:52:57 +02:00
|
|
|
color="primary" mat-raised-button>{{'ORG.POLICY.BTN_INSTALL' | translate}}</button>
|
feat(console): identity providers and login policies (#722)
* idp list, idp create route
* idp modules, lazy import, i18n, routing
* generic service, i18n
* seperate lockout, age policy component
* seperate component modules
* routing
* enum class
* login policy
* iam policy grid
* login policy providers
* idps login policy
* add idp dialog component
* add idp to loginpolicy
* delete idp config, iam policy grid
* remove idp from loginpolicy
* idp detail component, generic idp create
* lint
* idp detail clientid-secrets, issuer, scopes
* hide clientsecret on update
* rm background style, idp config
* app tooltip fix
* lint
* dont refresh on idp select
* Update console/src/app/modules/idp-create/idp-create.component.html
Co-authored-by: Fabiennne <fabienne.gerschwiler@gmail.com>
Co-authored-by: Fabi <38692350+fgerschwiler@users.noreply.github.com>
2020-09-17 10:22:41 +02:00
|
|
|
<button [disabled]="!iamPolicy" [routerLink]="[ 'policy', PolicyComponentType.IAM ]"
|
|
|
|
mat-stroked-button>{{'ORG.POLICY.BTN_EDIT' | translate}}</button>
|
|
|
|
</ng-template>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</ng-template>
|
|
|
|
|
|
|
|
<ng-template appHasRole [appHasRole]="['policy.read']">
|
|
|
|
<div class="p-item card">
|
|
|
|
<div class="avatar">
|
|
|
|
<i class="icon las la-gem"></i>
|
|
|
|
</div>
|
|
|
|
<div class="title">
|
|
|
|
<span>{{'ORG.POLICY.LOGIN_POLICY.TITLE' | translate}}</span>
|
|
|
|
<button mat-icon-button disabled>
|
|
|
|
<i *ngIf="loginPolicy" class="icon las la-check-circle"></i>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<ng-template #showDescIAM>
|
|
|
|
<p class="desc">
|
|
|
|
{{'ORG.POLICY.LOGIN_POLICY.DESCRIPTION' | translate}}</p>
|
|
|
|
</ng-template>
|
|
|
|
|
|
|
|
<span class="fill-space"></span>
|
|
|
|
<div class="btn-wrapper">
|
2020-09-18 13:26:28 +02:00
|
|
|
<ng-template appHasRole [appHasRole]="['policy.write']">
|
feat(console): identity providers and login policies (#722)
* idp list, idp create route
* idp modules, lazy import, i18n, routing
* generic service, i18n
* seperate lockout, age policy component
* seperate component modules
* routing
* enum class
* login policy
* iam policy grid
* login policy providers
* idps login policy
* add idp dialog component
* add idp to loginpolicy
* delete idp config, iam policy grid
* remove idp from loginpolicy
* idp detail component, generic idp create
* lint
* idp detail clientid-secrets, issuer, scopes
* hide clientsecret on update
* rm background style, idp config
* app tooltip fix
* lint
* dont refresh on idp select
* Update console/src/app/modules/idp-create/idp-create.component.html
Co-authored-by: Fabiennne <fabienne.gerschwiler@gmail.com>
Co-authored-by: Fabi <38692350+fgerschwiler@users.noreply.github.com>
2020-09-17 10:22:41 +02:00
|
|
|
<button [disabled]="loginPolicy" [routerLink]="[ 'policy', PolicyComponentType.LOGIN,'create' ]"
|
|
|
|
color="primary" mat-raised-button>{{'ORG.POLICY.BTN_INSTALL' | translate}}</button>
|
|
|
|
<button [disabled]="!loginPolicy" [routerLink]="[ 'policy', PolicyComponentType.LOGIN ]"
|
2020-08-13 07:42:16 +02:00
|
|
|
mat-stroked-button>{{'ORG.POLICY.BTN_EDIT' | translate}}</button>
|
2020-06-25 12:52:57 +02:00
|
|
|
</ng-template>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</ng-template>
|
2020-09-18 13:26:28 +02:00
|
|
|
</div>
|