mirror of
https://github.com/andwati/zitadel.git
synced 2026-11-16 18:55:11 +00:00
fix(console-v2): settings permission restriction, u2f naming, asset error handling (#3658)
* fix permission on nav * restrict settings access * fido table * u2f i18n, permission * factor, image fallback Co-authored-by: Livio Amstutz <[email protected]>
This commit is contained in:
co-authored by
Livio Amstutz
parent
62c4a4d08d
commit
40d7dba574
@@ -8,7 +8,10 @@ export interface SidenavSetting {
|
||||
id: string;
|
||||
i18nKey: string;
|
||||
groupI18nKey?: string;
|
||||
requiredRoles?: { [serviceType in PolicyComponentServiceType]: string[] };
|
||||
requiredRoles?: {
|
||||
[PolicyComponentServiceType.MGMT]?: string[];
|
||||
[PolicyComponentServiceType.ADMIN]?: string[];
|
||||
};
|
||||
showWarn?: boolean;
|
||||
}
|
||||
|
||||
@@ -26,6 +29,7 @@ export class SidenavComponent implements ControlValueAccessor, OnInit {
|
||||
@Input() public settingsList: SidenavSetting[] = [];
|
||||
@Input() public queryParam: string = '';
|
||||
|
||||
public PolicyComponentServiceType: any = PolicyComponentServiceType;
|
||||
constructor(private router: Router, private route: ActivatedRoute) {}
|
||||
|
||||
ngOnInit(): void {
|
||||
|
||||
Reference in New Issue
Block a user