feat: create human user v2 page (#9506)

# Which Problems Are Solved
Allows users to be created using the V2 User API

# How the Problems Are Solved
I added a seperate V2 create user page with the new code using the new
apis.

# Additional Changes
I did some refactorings arround our interceptors as they used an
obselete syntax.
The password complexity form takes the Buf definitions.

# Additional Context
- Closes #9430

---------

Co-authored-by: Max Peintner <[email protected]>
This commit is contained in:
Ramon
2025-03-19 13:27:59 +01:00
committed by GitHub
co-authored by Max Peintner
parent 11c9be3b8d
commit b418ea75bb
53 changed files with 863 additions and 375 deletions
@@ -1,7 +1,7 @@
import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';
import { AuthGuard } from 'src/app/guards/auth.guard';
import { RoleGuard } from 'src/app/guards/role.guard';
import { authGuard } from 'src/app/guards/auth.guard';
import { roleGuard } from 'src/app/guards/role-guard';
import { PolicyComponentServiceType } from 'src/app/modules/policies/policy-component-types.enum';
import { InstanceComponent } from './instance.component';
@@ -10,7 +10,7 @@ const routes: Routes = [
{
path: '',
component: InstanceComponent,
canActivate: [AuthGuard, RoleGuard],
canActivate: [authGuard, roleGuard],
data: {
roles: ['iam.read'],
},
@@ -18,14 +18,14 @@ const routes: Routes = [
{
path: 'members',
loadChildren: () => import('./instance-members/instance-members.module'),
canActivate: [AuthGuard, RoleGuard],
canActivate: [authGuard, roleGuard],
data: {
roles: ['iam.member.read'],
},
},
{
path: 'provider',
canActivate: [AuthGuard, RoleGuard],
canActivate: [authGuard, roleGuard],
loadChildren: () => import('src/app/modules/providers/providers.module'),
data: {
roles: ['iam.idp.read'],
@@ -34,7 +34,7 @@ const routes: Routes = [
},
{
path: 'smtpprovider',
canActivate: [AuthGuard, RoleGuard],
canActivate: [authGuard, roleGuard],
loadChildren: () => import('src/app/modules/smtp-provider/smtp-provider.module'),
data: {
roles: ['iam.idp.read'],