forked from geolba/tethys.backend
Arno Kaimbacher
b6fdfbff41
- npm updated - added createHashValues and dlete inside File.ts - added dataset_count property inside Subject.ts - corrected rotes.ts with correct permissions
65 lines
1.4 KiB
TypeScript
65 lines
1.4 KiB
TypeScript
import { mdiMonitor, mdiGithub, mdiAccountEye, mdiAccountGroup, mdiDatabasePlus } from '@mdi/js';
|
|
|
|
export default [
|
|
{
|
|
route: 'dashboard',
|
|
icon: mdiMonitor,
|
|
label: 'Dashboard',
|
|
},
|
|
// {
|
|
// route: 'permission.index',
|
|
// icon: mdiAccountKey,
|
|
// label: 'Permissions'
|
|
// },
|
|
// {
|
|
// route: 'role.index',
|
|
// icon: mdiAccountEye,
|
|
// label: 'Roles'
|
|
// },
|
|
{
|
|
route: 'user.index',
|
|
icon: mdiAccountGroup,
|
|
label: 'Users',
|
|
},
|
|
{
|
|
route: 'role.index',
|
|
icon: mdiAccountEye,
|
|
label: 'Roles',
|
|
},
|
|
{
|
|
href: '/oai',
|
|
icon: mdiAccountEye,
|
|
label: 'OAI',
|
|
target: '_blank',
|
|
},
|
|
{
|
|
// route: 'dataset.create',
|
|
icon: mdiDatabasePlus,
|
|
label: 'Submitter',
|
|
permissions: ['submitter'],
|
|
children: [
|
|
{
|
|
route: 'dataset.list',
|
|
icon: mdiDatabasePlus,
|
|
label: 'All my datasets',
|
|
},
|
|
{
|
|
route: 'dataset.create',
|
|
icon: mdiDatabasePlus,
|
|
label: 'Create Dataset',
|
|
},
|
|
],
|
|
},
|
|
// {
|
|
// route: 'dataset.create',
|
|
// icon: mdiDatabasePlus,
|
|
// label: 'Create Dataset',
|
|
// },
|
|
{
|
|
href: 'https://gitea.geologie.ac.at/geolba/tethys',
|
|
icon: mdiGithub,
|
|
label: 'Gitea',
|
|
target: '_blank',
|
|
},
|
|
];
|