mirror of
https://github.com/zitadel/zitadel.git
synced 2025-06-03 16:18:21 +00:00

* prettier member dialog, iam indicator * changes i18n * fix timestamp conversion, timestamp to date pipe * rm create, update iam policy * add iam policy * add iam section, members component * add iam contributors * gen admin protos * iam member search * update angular * update cdk material * add module for iam members * add iam roles to member dialog * home shortcuts * project view, i18n * lint
33 lines
1.3 KiB
HTML
33 lines
1.3 KiB
HTML
<h1 mat-dialog-title>
|
|
<span class="title">{{'MEMBER.ADD' | translate}}</span>
|
|
</h1>
|
|
<p class="desc"> {{'ORG_DETAIL.MEMBER.ADDDESCRIPTION' | translate}}</p>
|
|
<div mat-dialog-content>
|
|
<app-search-user-autocomplete (selectionChanged)="users = $event"></app-search-user-autocomplete>
|
|
|
|
<mat-form-field class="full-width" appearance="outline"
|
|
*ngIf="creationType === CreationType.PROJECT_OWNED || creationType === CreationType.PROJECT_GRANTED || creationType === CreationType.IAM">
|
|
<mat-label>{{ 'PROJECT.GRANT.TITLE' | translate }}</mat-label>
|
|
<mat-select [(ngModel)]="roles" multiple>
|
|
<mat-option *ngFor="let role of memberRoleOptions" [value]="role">
|
|
{{ 'ROLES.'+role | translate }}
|
|
</mat-option>
|
|
</mat-select>
|
|
</mat-form-field>
|
|
|
|
<ng-container *ngIf="creationType === CreationType.ORG">
|
|
<app-org-member-roles-autocomplete (selectionChanged)="setOrgMemberRoles($event)">
|
|
</app-org-member-roles-autocomplete>
|
|
</ng-container>
|
|
|
|
</div>
|
|
<div mat-dialog-actions class="action">
|
|
<button mat-button (click)="closeDialog()">
|
|
cancel
|
|
</button>
|
|
|
|
<button [disabled]="users.length == 0 || roles.length == 0" color="primary" mat-raised-button class="ok-button"
|
|
(click)="closeDialogWithSuccess()">
|
|
Add
|
|
</button>
|
|
</div> |