diff --git a/.grenrc.js b/.grenrc.js
new file mode 100644
index 0000000000..f9c9d076f2
--- /dev/null
+++ b/.grenrc.js
@@ -0,0 +1,12 @@
+module.exports = {
+ "dataSource": "commits",
+ "prefix": "",
+ "includeMessages": "all",
+ "changelogFilename": "CHANGELOG.md",
+ "groupBy": {
+ "Enhancements:": ["feat"],
+ "Bug Fixes:": ["fix"],
+ "Documentation:": ["docs"],
+ "Other": ["chore", "refactor"]
+ }
+};
diff --git a/src/app/app-global.ts b/src/app/app-global.ts
index 0a1fe1eaa9..ccacf97587 100644
--- a/src/app/app-global.ts
+++ b/src/app/app-global.ts
@@ -6,7 +6,7 @@ export class AppGlobal {
public static projectNav: MenuItem[] = [
{
label: 'Project information',
- route: 'board',
+ route: 'info',
icon: 'assignment'
},
{
@@ -15,9 +15,9 @@ export class AppGlobal {
icon: 'group'
},
{
- label: 'Groups',
- route: 'groups',
- icon: 'supervised_user_circle'
+ label: 'Permission groups',
+ route: 'permissions',
+ icon: 'lock_open'
},
{
label: 'Data model',
diff --git a/src/app/app-routing.module.ts b/src/app/app-routing.module.ts
index e97486a711..863dcfb2c0 100644
--- a/src/app/app-routing.module.ts
+++ b/src/app/app-routing.module.ts
@@ -27,6 +27,8 @@ import { UsersComponent } from './system/users/users.component';
import { StatusComponent } from './system/status/status.component';
import { ResourceComponent } from './workspace/resource/resource.component';
import { CookiePolicyComponent } from './main/cookie-policy/cookie-policy.component';
+import { GroupsComponent } from './system/groups/groups.component';
+import { PermissionComponent } from './project/permission/permission.component';
const routes: Routes = [
{
@@ -49,10 +51,10 @@ const routes: Routes = [
{
path: '',
pathMatch: 'full',
- redirectTo: 'board'
+ redirectTo: 'info'
},
{
- path: 'board',
+ path: 'info',
component: BoardComponent
},
{
@@ -60,6 +62,11 @@ const routes: Routes = [
component: CollaborationComponent,
canActivate: [AuthGuard]
},
+ {
+ path: 'permissions',
+ component: PermissionComponent,
+ canActivate: [AuthGuard]
+ },
{
path: 'ontologies',
component: OntologyComponent,
diff --git a/src/app/app.module.ts b/src/app/app.module.ts
index 9c67a15172..f231b07247 100644
--- a/src/app/app.module.ts
+++ b/src/app/app.module.ts
@@ -61,6 +61,10 @@ import { GridComponent } from './main/grid/grid.component';
import { ResourceComponent } from './workspace/resource/resource.component';
import { CookiePolicyComponent } from './main/cookie-policy/cookie-policy.component';
import { InfoMenuComponent } from './main/info-menu/info-menu.component';
+import { GroupsComponent } from './system/groups/groups.component';
+import { GroupsListComponent } from './system/groups/groups-list/groups-list.component';
+import { PermissionComponent } from './project/permission/permission.component';
+import { AddGroupComponent } from './project/permission/add-group/add-group.component';
// translate: AoT requires an exported function for factories
export function HttpLoaderFactory(httpClient: HttpClient) {
@@ -113,7 +117,6 @@ export function initializeApp(appInitService: AppInitService) {
ResourceComponent,
ExpertSearchComponent,
AdvancedSearchComponent,
-
DashboardComponent,
DialogComponent,
SystemComponent,
@@ -123,7 +126,11 @@ export function initializeApp(appInitService: AppInitService) {
DialogHeaderComponent,
GridComponent,
CookiePolicyComponent,
- InfoMenuComponent
+ InfoMenuComponent,
+ GroupsComponent,
+ GroupsListComponent,
+ PermissionComponent,
+ AddGroupComponent
],
imports: [
AppRoutingModule,
diff --git a/src/app/main/header/header.component.html b/src/app/main/header/header.component.html
index 7119e65a76..cf36639d4e 100644
--- a/src/app/main/header/header.component.html
+++ b/src/app/main/header/header.component.html
@@ -3,26 +3,26 @@
-
-
-
-
+
+
+
-