mirror of
https://github.com/andwati/zitadel.git
synced 2026-10-30 19:12:16 +00:00
feat(console): pinned org list, project grant detail view, state change, i18n, domain dialog, policy refactor, theme fixes, refactor user and projects (#449)
* pinned organisations * project grant detail, state update, user-list pad * rm entry components * members nav, i18n, disable actions on non active * add org domain dialog * mv password policy rm to detail view * prefix pinned orgs for userid, fix collapsed pad * fix app back navigation * rem pwd required validator * fix org item overflow * routing * move users modules to users page * reorganize projects * remove child init of translate * hide same preferred loginname
This commit is contained in:
@@ -513,6 +513,29 @@ export class ProjectService {
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
public async DeactivateProjectGrant(id: string, projectId: string): Promise<ProjectGrant> {
|
||||
const req = new ProjectGrantID();
|
||||
req.setId(id);
|
||||
req.setProjectId(projectId);
|
||||
return await this.request(
|
||||
c => c.deactivateProjectGrant,
|
||||
req,
|
||||
f => f,
|
||||
);
|
||||
}
|
||||
|
||||
public async ReactivateProjectGrant(id: string, projectId: string): Promise<ProjectGrant> {
|
||||
const req = new ProjectGrantID();
|
||||
req.setId(id);
|
||||
req.setProjectId(projectId);
|
||||
return await this.request(
|
||||
c => c.reactivateProjectGrant,
|
||||
req,
|
||||
f => f,
|
||||
);
|
||||
}
|
||||
|
||||
// ********* */
|
||||
|
||||
public async SearchProjectUserGrants(
|
||||
|
||||
@@ -34,7 +34,7 @@ export class ToastService {
|
||||
this.authService.authenticate(undefined, true, true);
|
||||
});
|
||||
} else {
|
||||
const actionObserver$ = this.showMessage(decodeURI(message), 'close', { duration: 5000 });
|
||||
this.showMessage(decodeURI(message), 'close', { duration: 3000 });
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user