mirror of
https://github.com/andwati/zitadel.git
synced 2026-11-14 09:55:12 +00:00
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:
+2
-2
@@ -1,6 +1,6 @@
|
||||
import { NgModule } from '@angular/core';
|
||||
import { RouterModule, Routes } from '@angular/router';
|
||||
import { RoleGuard } from 'src/app/guards/role.guard';
|
||||
import { roleGuard } from 'src/app/guards/role-guard';
|
||||
|
||||
import { OwnedProjectDetailComponent } from './owned-project-detail.component';
|
||||
|
||||
@@ -12,7 +12,7 @@ const routes: Routes = [
|
||||
animation: 'HomePage',
|
||||
roles: ['project.read'],
|
||||
},
|
||||
canActivate: [RoleGuard],
|
||||
canActivate: [roleGuard],
|
||||
},
|
||||
];
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { NgModule } from '@angular/core';
|
||||
import { RouterModule, Routes } from '@angular/router';
|
||||
import { RoleGuard } from 'src/app/guards/role.guard';
|
||||
import { roleGuard } from 'src/app/guards/role-guard';
|
||||
import { ProjectType } from 'src/app/modules/project-members/project-members-datasource';
|
||||
|
||||
const routes: Routes = [
|
||||
@@ -10,7 +10,7 @@ const routes: Routes = [
|
||||
animation: 'HomePage',
|
||||
roles: ['project.read'],
|
||||
},
|
||||
canActivate: [RoleGuard],
|
||||
canActivate: [roleGuard],
|
||||
loadChildren: () => import('./owned-project-detail/owned-project-detail.module'),
|
||||
},
|
||||
{
|
||||
@@ -19,7 +19,7 @@ const routes: Routes = [
|
||||
type: ProjectType.PROJECTTYPE_OWNED,
|
||||
roles: ['project.member.read'],
|
||||
},
|
||||
canActivate: [RoleGuard],
|
||||
canActivate: [roleGuard],
|
||||
loadChildren: () => import('src/app/modules/project-members/project-members.module'),
|
||||
},
|
||||
{
|
||||
@@ -28,7 +28,7 @@ const routes: Routes = [
|
||||
animation: 'AddPage',
|
||||
roles: ['project.app.read'],
|
||||
},
|
||||
canActivate: [RoleGuard],
|
||||
canActivate: [roleGuard],
|
||||
loadChildren: () => import('src/app/pages/projects/apps/apps.module'),
|
||||
},
|
||||
{
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { NgModule } from '@angular/core';
|
||||
import { RouterModule, Routes } from '@angular/router';
|
||||
import { RoleGuard } from 'src/app/guards/role.guard';
|
||||
import { roleGuard } from 'src/app/guards/role-guard';
|
||||
|
||||
import { ProjectsComponent } from './projects.component';
|
||||
|
||||
@@ -13,7 +13,7 @@ const routes: Routes = [
|
||||
{
|
||||
path: 'create',
|
||||
loadChildren: () => import('./project-create/project-create.module'),
|
||||
canActivate: [RoleGuard],
|
||||
canActivate: [roleGuard],
|
||||
data: {
|
||||
animation: 'AddPage',
|
||||
roles: ['project.create'],
|
||||
@@ -21,7 +21,7 @@ const routes: Routes = [
|
||||
},
|
||||
{
|
||||
path: 'app-create',
|
||||
canActivate: [RoleGuard],
|
||||
canActivate: [roleGuard],
|
||||
data: {
|
||||
animation: 'AddPage',
|
||||
roles: ['project.app.write'],
|
||||
|
||||
Reference in New Issue
Block a user