Core Module
Backend source code:
Backend module
Links
Source code: https://github.com/openimis/openimis-be-core_py
Latest release: https://github.com/openimis/openimis-be-core_py/releases/latest
Pypi library: openimis-be-core
Configuration options
Option | Values | Default |
---|---|---|
|
| user |
|
| core |
|
|
|
|
| core |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 18 |
|
| False |
|
| $ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Default configuration:
{
"username_code_length": "8", # cannot be bigger than 50 unless modified length limit
"user_username_and_code_length_limit": "50",
"auto_provisioning_user_group": "user",
"calendar_package": "core",
"calendar_module": ".calendars.ad_calendar",
"datetime_package": "core",
"datetime_module": ".datetimes.ad_datetime",
"shortstrfdate": "%d/%m/%Y",
"longstrfdate": "%a %d %B %Y",
"iso_raw_date": "False",
"age_of_majority": "18",
"async_mutations": "False",
"password_reset_template": "password_reset.txt",
"currency": "$",
"gql_query_users_perms": ["121701"],
"gql_mutation_create_users_perms": ["121702"],
"gql_mutation_update_users_perms": ["121703"],
"gql_mutation_delete_users_perms": ["121704"],
"gql_query_roles_perms": ["122001"],
"gql_mutation_create_roles_perms": ["122002"],
"gql_mutation_update_roles_perms": ["122003"],
"gql_mutation_replace_roles_perms": ["122006"],
"gql_mutation_duplicate_roles_perms": ["122005"],
"gql_mutation_delete_roles_perms": ["122004"],
# TODO consider moving that roles related to ClaimAdmin and EnrolmentOfficer
# into modules related to that type of user for example
# EnrolmentOfficer -> policy module, ClaimAdmin -> claim module etc
"gql_query_enrolment_officers_perms": ["121501"],
"gql_mutation_create_enrolment_officers_perms": ["121502"],
"gql_mutation_update_enrolment_officers_perms": ["121503"],
"gql_mutation_delete_enrolment_officers_perms": ["121504"],
"gql_query_claim_administrator_perms": ["121601"],
"gql_mutation_create_claim_administrator_perms": ["121602"],
"gql_mutation_update_claim_administrator_perms": ["121603"],
"gql_mutation_delete_claim_administrator_perms": ["121604"],
"fields_controls_user": {},
"fields_controls_eo": {},
}
Frontend module
Source code: https://github.com/openimis/openimis-fe-core_js
Latest release: https://github.com/openimis/openimis-fe-core_js/releases/latest
NPM library: npm: @openimis/fe-core
Did you encounter a problem or do you have a suggestion?
Please contact our Service Desk
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License. https://creativecommons.org/licenses/by-sa/4.0/