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:
Max Peintner
2020-07-13 13:38:49 +02:00
committed by GitHub
parent d8eef34a37
commit b628baeb1a
193 changed files with 967 additions and 500 deletions
@@ -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(
+1 -1
View File
@@ -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 });
}
}