mirror of
https://github.com/andwati/zitadel.git
synced 2026-11-12 09:05:12 +00:00
fix(console): idp write access (#2258)
* fix: idp * disable idp form in detail * lint * change list idp request * fix external idp removal
This commit is contained in:
@@ -86,16 +86,15 @@
|
||||
<td mat-cell *matCellDef="let idp">
|
||||
<button
|
||||
[disabled]="serviceType==PolicyComponentServiceType.MGMT && idp?.providerType == IDPOwnerType.IDP_OWNER_TYPE_ORG"
|
||||
mat-icon-button color="warn" matTooltip="{{'IAM.VIEWS.DELETE' | translate}}"
|
||||
mat-icon-button color="warn" matTooltip="{{'ACTIONS.REMOVE' | translate}}"
|
||||
(click)="removeIdp(idp)">
|
||||
<i class="las la-trash"></i>
|
||||
<mat-icon>remove_circle</mat-icon>
|
||||
</button>
|
||||
</td>
|
||||
</ng-container>
|
||||
|
||||
<tr mat-header-row *matHeaderRowDef="displayedColumns"></tr>
|
||||
<tr class="highlight"
|
||||
[ngClass]="{'disabled': serviceType==PolicyComponentServiceType.MGMT && row?.providerType == IDPOwnerType.IDP_OWNER_TYPE_SYSTEM}"
|
||||
mat-row *matRowDef="let row; columns: displayedColumns;">
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
@@ -40,10 +40,6 @@ td {
|
||||
tr {
|
||||
outline: none;
|
||||
|
||||
&.disabled * {
|
||||
opacity: .8;
|
||||
}
|
||||
|
||||
button {
|
||||
visibility: hidden;
|
||||
}
|
||||
@@ -53,6 +49,12 @@ tr {
|
||||
visibility: visible;
|
||||
}
|
||||
}
|
||||
|
||||
&.disabled,
|
||||
&.disabled * {
|
||||
opacity: .8;
|
||||
cursor: default;
|
||||
}
|
||||
}
|
||||
|
||||
.avatar {
|
||||
|
||||
Reference in New Issue
Block a user