2018-09-20 13:03:51 +02:00
|
|
|
import { AppConfig } from '../base/app-config';
|
|
|
|
import { User } from '../../shared/models/users/user';
|
|
|
|
import { Group } from '../../shared/models/users/group';
|
|
|
|
import { PersonalNote } from '../../shared/models/users/personal-note';
|
|
|
|
|
|
|
|
export const UsersAppConfig: AppConfig = {
|
|
|
|
name: 'users',
|
|
|
|
models: [
|
2018-11-07 08:43:48 +01:00
|
|
|
{ collectionString: 'users/user', model: User, searchOrder: 4 },
|
2018-09-20 13:03:51 +02:00
|
|
|
{ collectionString: 'users/group', model: Group },
|
|
|
|
{ collectionString: 'users/personal-note', model: PersonalNote }
|
|
|
|
],
|
|
|
|
mainMenuEntries: [
|
|
|
|
{
|
|
|
|
route: '/users',
|
|
|
|
displayName: 'Participants',
|
2018-10-11 14:03:44 +02:00
|
|
|
icon: 'people',
|
2018-09-20 13:03:51 +02:00
|
|
|
weight: 500,
|
|
|
|
permission: 'users.can_see_name'
|
|
|
|
}
|
|
|
|
]
|
|
|
|
};
|