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
|
|
|
Normal: {
|
|
|
|
|
value: 0,
|
|
|
|
|
label: '[None]'
|
|
|
|
|
},
|
|
|
|
|
Admin: {
|
|
|
|
|
value: 1,
|
|
|
|
|
label: 'Admin'
|
|
|
|
|
},
|
|
|
|
|
Manager: {
|
|
|
|
|
value: 2,
|
|
|
|
|
label: 'Manager'
|
|
|
|
|
},
|
|
|
|
|
Teacher: {
|
|
|
|
|
value: 4,
|
|
|
|
|
label: 'Teacher'
|
|
|
|
|
}
|
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-10-27 00:37:00 +02:00
|
|
|
return ['username', 'email', 'name', 'surname', 'perm', 'date_reg', 'verified_email', 'img', 'ipaddr', 'lasttimeonline']
|
2019-10-13 20:46:09 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|