2019-10-13 20:46:09 +02:00
|
|
|
export const shared_consts = {
|
|
|
|
|
|
2019-10-14 20:32:15 +02:00
|
|
|
Permissions: {
|
2019-10-28 16:00:37 +01:00
|
|
|
Admin: {
|
|
|
|
|
value: 1,
|
2019-10-28 19:00:06 +01:00
|
|
|
label: 'pages.Admin',
|
2019-10-28 22:01:47 +01:00
|
|
|
icon: 'fas fa-user-shield',
|
|
|
|
|
color: 'red'
|
2019-10-28 16:00:37 +01:00
|
|
|
},
|
|
|
|
|
Manager: {
|
|
|
|
|
value: 2,
|
2019-10-28 19:00:06 +01:00
|
|
|
label: 'otherpages.manage.manager',
|
2019-10-28 22:01:47 +01:00
|
|
|
icon: 'fas fa-tools',
|
|
|
|
|
color: 'green'
|
2019-10-28 16:00:37 +01:00
|
|
|
},
|
|
|
|
|
Teacher: {
|
|
|
|
|
value: 4,
|
2019-10-28 19:00:06 +01:00
|
|
|
label: 'event.teacher',
|
2019-10-28 22:01:47 +01:00
|
|
|
icon: 'fas fa-user-tie',
|
|
|
|
|
color: 'blue'
|
2019-10-28 16:00:37 +01:00
|
|
|
}
|
2019-10-14 20:32:15 +02:00
|
|
|
},
|
|
|
|
|
|
2019-10-27 00:37:00 +02:00
|
|
|
MessageOptions: {
|
|
|
|
|
Notify_ByEmail: 2,
|
|
|
|
|
Notify_ByPushNotification: 4
|
|
|
|
|
},
|
|
|
|
|
|
2019-10-13 20:46:09 +02:00
|
|
|
fieldsUserToChange() {
|
2019-12-29 01:54:00 +01:00
|
|
|
return ['_id', 'username', 'email', 'name', 'surname', 'perm', 'date_reg', 'verified_email', 'img', 'ipaddr', 'lasttimeonline', 'profile', 'news_on']
|
2019-10-13 20:46:09 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|