2020-11-24 19:05:18 +00:00
|
|
|
pub mod modules {
|
|
|
|
pub mod dashboard {
|
|
|
|
pub const VIEW: &'static str = "modules.dashboard.view";
|
|
|
|
}
|
|
|
|
pub mod member_management {
|
|
|
|
pub const SEARCH: &'static str = "modules.member_management.search";
|
|
|
|
pub const VIEW: &'static str = "modules.member_management.view";
|
|
|
|
pub mod list {
|
|
|
|
pub const VIEW: &'static str = "modules.member_management.list.view";
|
|
|
|
}
|
2020-12-05 18:28:16 +00:00
|
|
|
pub mod iban_bic{
|
|
|
|
pub const VIEW: &'static str = "modules.member_management.iban_bic.view";
|
|
|
|
pub const EDIT: &'static str = "modules.member_management.iban_bic.edit";
|
|
|
|
}
|
2020-11-24 19:05:18 +00:00
|
|
|
pub mod groups {
|
|
|
|
pub const VIEW: &'static str = "modules.member_management.groups.view";
|
|
|
|
pub const EDIT: &'static str = "modules.member_management.groups.edit";
|
|
|
|
pub const CREATE: &'static str = "modules.member_management.groups.create";
|
|
|
|
pub const DELETE: &'static str = "modules.member_management.groups.delete";
|
|
|
|
|
|
|
|
pub mod members {
|
|
|
|
pub const VIEW: &'static str = "modules.member_management.groups.members.view";
|
|
|
|
pub const EDIT: &'static str = "modules.member_management.groups.members.edit";
|
|
|
|
}
|
|
|
|
|
2020-11-29 22:35:52 +00:00
|
|
|
pub mod permissions {
|
|
|
|
pub const VIEW: &'static str = "modules.member_management.groups.permissions.view";
|
|
|
|
pub const EDIT: &'static str = "modules.member_management.groups.permissions.edit";
|
|
|
|
}
|
|
|
|
|
2020-11-24 19:05:18 +00:00
|
|
|
pub mod core {
|
|
|
|
pub const EDIT: &'static str = "modules.member_management.groups.core.edit";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
pub mod profile {
|
|
|
|
pub const VIEW: &'static str = "modules.member_management.profile.view";
|
|
|
|
pub const EDIT: &'static str = "modules.member_management.profile.edit";
|
|
|
|
pub const CREATE: &'static str = "modules.member_management.profile.create";
|
|
|
|
pub const DELETE: &'static str = "modules.member_management.profile.delete";
|
|
|
|
pub mod qualifications {
|
|
|
|
pub const VIEW: &'static str =
|
|
|
|
"modules.member_management.profile.qualification.view";
|
|
|
|
pub const EDIT: &'static str =
|
|
|
|
"modules.member_management.profile.qualifications.edit";
|
|
|
|
}
|
|
|
|
pub mod image {
|
|
|
|
pub const VIEW: &'static str = "modules.member_management.profile.image.view";
|
|
|
|
pub const EDIT: &'static str = "modules.member_management.profile.image.edit";
|
|
|
|
}
|
|
|
|
pub mod drive_permissions_licenses {
|
|
|
|
pub const VIEW: &'static str =
|
|
|
|
"modules.member_management.profile.drive_permissions_licenses.view";
|
|
|
|
pub const EDIT: &'static str =
|
|
|
|
"modules.member_management.profile.drive_permissions_licenses.edit";
|
|
|
|
}
|
|
|
|
pub mod communication {
|
|
|
|
pub const VIEW: &'static str =
|
|
|
|
"modules.member_management.profile.communication.view";
|
|
|
|
pub const EDIT: &'static str =
|
|
|
|
"modules.member_management.profile.communication.edit";
|
|
|
|
}
|
|
|
|
pub mod list {
|
|
|
|
pub const VIEW: &'static str = "modules.member_management.list.view";
|
|
|
|
}
|
|
|
|
pub mod groups {
|
|
|
|
pub const VIEW: &'static str = "modules.member_management.profile.groups.view";
|
|
|
|
pub const EDIT: &'static str = "modules.member_management.profile.groups.edit";
|
|
|
|
}
|
|
|
|
pub mod core {
|
|
|
|
pub const EDIT: &'static str = "modules.member_management.profile.core.edit";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
pub mod event_management {
|
|
|
|
pub const VIEW: &'static str = "modules.event_management.view";
|
2021-05-13 23:11:39 +00:00
|
|
|
|
2021-05-11 14:41:10 +00:00
|
|
|
pub mod organisers{
|
|
|
|
pub const VIEW: &'static str = "modules.event_management.organisers.view";
|
|
|
|
pub const EDIT: &'static str = "modules.event_management.organisers.edit";
|
|
|
|
pub const CREATE: &'static str = "modules.event_management.organisers.create";
|
|
|
|
pub const DELETE: &'static str = "modules.event_management.organisers.delete";
|
|
|
|
}
|
2021-05-13 23:11:39 +00:00
|
|
|
pub mod events{
|
|
|
|
pub const VIEW: &'static str = "modules.event_management.events.view";
|
|
|
|
pub const EDIT: &'static str = "modules.event_management.events.edit";
|
|
|
|
pub const CREATE: &'static str = "modules.event_management.events.create";
|
|
|
|
pub const DELETE: &'static str = "modules.event_management.events.delete";
|
|
|
|
}
|
2020-11-24 19:05:18 +00:00
|
|
|
}
|
2021-02-24 12:25:27 +00:00
|
|
|
pub mod resource_management{
|
2021-06-15 11:45:46 +00:00
|
|
|
pub const VIEW: &'static str = "modules.resource_management.view";
|
2021-02-24 12:25:27 +00:00
|
|
|
pub mod vehicles{
|
|
|
|
pub mod core{
|
2021-06-30 12:48:59 +00:00
|
|
|
pub const VIEW: &'static str = "modules.resource_management.vehicles.core.view";
|
2021-02-24 12:25:27 +00:00
|
|
|
pub const EDIT: &'static str = "modules.resource_management.vehicles.core.edit";
|
2021-04-27 16:30:55 +00:00
|
|
|
pub const CREATE: &'static str = "modules.resource_management.vehicles.core.create";
|
2021-05-07 23:24:44 +00:00
|
|
|
pub const DELETE: &'static str = "modules.resource_management.vehicles.core.delete";
|
2021-02-24 12:25:27 +00:00
|
|
|
}
|
|
|
|
pub mod list{
|
|
|
|
pub const VIEW: &'static str = "modules.resource_management.vehicles.list.view";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-11-24 19:05:18 +00:00
|
|
|
pub mod configuration {
|
|
|
|
pub mod fields {
|
|
|
|
pub mod communication_types {
|
|
|
|
pub const VIEW: &'static str =
|
|
|
|
"modules.configuration.fields.communication_types.view";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-12-05 21:11:14 +00:00
|
|
|
pub mod units{
|
|
|
|
pub const EDIT: &'static str = "modules.units.edit";
|
|
|
|
pub const CREATE: &'static str = "modules.units.create";
|
|
|
|
pub const DELETE: &'static str = "modules.units.delete";
|
|
|
|
pub mod members {
|
|
|
|
pub const VIEW: &'static str = "modules.units.members.view";
|
2020-12-30 14:10:55 +00:00
|
|
|
pub const EDIT: &'static str = "modules.units.members.edit";
|
2020-12-05 21:11:14 +00:00
|
|
|
}
|
|
|
|
}
|
2021-01-05 19:05:39 +00:00
|
|
|
pub mod communicator{
|
|
|
|
pub const VIEW: &'static str = "modules.communicator.view";
|
|
|
|
pub const EDIT: &'static str = "modules.communicator.edit";
|
|
|
|
pub mod email{
|
|
|
|
pub const SEND: &'static str = "modules.communicator.email.send";
|
|
|
|
}
|
|
|
|
}
|
2021-02-24 12:25:27 +00:00
|
|
|
pub mod scheduler{
|
|
|
|
pub const VIEW: &'static str = "modules.scheduler.view";
|
|
|
|
pub mod appointments{
|
|
|
|
pub const VIEW: &'static str = "modules.scheduler.appointments.view";
|
|
|
|
pub const EDIT: &'static str = "modules.scheduler.appointments.edit";
|
|
|
|
}
|
|
|
|
}
|
2021-06-15 11:45:46 +00:00
|
|
|
pub mod settings{
|
|
|
|
pub const VIEW: &'static str = "modules.settings.view";
|
|
|
|
pub mod role_permissions{
|
|
|
|
pub const VIEW: &'static str = "modules.settings.role_permissions.view";
|
|
|
|
pub const EDIT: &'static str = "modules.settings.role_permissions.edit";
|
|
|
|
}
|
|
|
|
}
|
2020-11-24 19:05:18 +00:00
|
|
|
}
|