Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sync fix #1506

Open
wants to merge 12 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions modules/templates/HIMS/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

14 changes: 14 additions & 0 deletions modules/templates/HIMS/auth_roles.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
uid,role,description,controller,function,table,uacl,oacl,hidden,system,protected,Notes
AUTHENTICATED,Authenticated,,gis,,,READ,"READ|CREATE|UPDATE|DELETE",,,,"Authenticated users can see the Map"
AUTHENTICATED,Authenticated,,gis,location,,"READ|CREATE","READ|CREATE|UPDATE|DELETE",,,,"Note the owning role for locations is set to Authenticated by default, so this controls the access that logged in users have. (In general, tables do not have a default owning role.)"
AUTHENTICATED,Authenticated,,pr,,,"READ|UPDATE",,,,,"Authenticated users can only see/edit their own PR records"
AUTHENTICATED,Authenticated,,,,pr_person,"READ|UPDATE",,,,,"Authenticated users can only see/edit their own PR records"
AUTHENTICATED,Authenticated,,pr,person,,"CREATE","READ|UPDATE",,,,"But need to be able to add/edit addresses"
AUTHENTICATED,Authenticated,,pr,pentity,,"READ",,,,,"Custom Controller to allow access to PR via JSON for AutoComplete"
AUTHENTICATED,Authenticated,,pr,person_search,,"READ",,,,,"Custom Controller to allow access to PR via JSON for AutoComplete"
AUTHENTICATED,Authenticated,,msg,search,,"READ",,,,,"Custom Controller to allow access to PR via JSON for AutoComplete"
AUTHENTICATED,Authenticated,,supply,,,"READ|CREATE",,,,,"Authenticated users can see the Supply Catalogue"
AUTHENTICATED,Authenticated,,hrm,,,"READ|UPDATE",,,,,"HRM access is controlled to just HR Staff, except for access to your own record - requires security policy 4+"
AUTHENTICATED,Authenticated,,hrm,person,,,"READ|UPDATE",,,,"HRM access is controlled to just HR Staff, except for access to your own record - requires security policy 4+"
AUTHENTICATED,Authenticated,,hrm,staff,,,,,,,"HRM access is controlled to just HR Staff, except for access to your own record - requires security policy 4+"
AUTHENTICATED,Authenticated,,hrm,volunteer,,,,,,,"HRM access is controlled to just HR Staff, except for access to your own record - requires security policy 4+"
1 change: 1 addition & 0 deletions modules/templates/HIMS/base/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

2 changes: 2 additions & 0 deletions modules/templates/HIMS/base/gis_config.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
UUID,Name,Region Country,Default Country,Zoom,Lat,Lon,Projection,LatMin,LatMax,LonMin,LonMax,Marker
SITE_DEFAULT,Default,,,2,22.593723263,5.28516253,900913,-90,90,-180,180,marker_red
2 changes: 2 additions & 0 deletions modules/templates/HIMS/base/gis_hierarchy.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
UUID,Country,L1,L2,L3,L4,L5,Edit L1
SITE_DEFAULT,,"State / Province","County / District","City / Town / Village","Village / Suburb",,
2 changes: 2 additions & 0 deletions modules/templates/HIMS/base/gis_marker.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Name,Height,Width,Image
marker_red,34,20,"marker_red.png"
3 changes: 3 additions & 0 deletions modules/templates/HIMS/base/gis_projection.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
UUID,Name,EPSG,maxExtent,proj4js,units
"www.sahanafoundation.org/GIS-PROJECTION-900913","Spherical Mercator",900913,"-20037508, -20037508, 20037508, 20037508.34","","m"
"www.sahanafoundation.org/GIS-PROJECTION-4326",WGS84,4326,"-180,-90,180,90","","degrees"
26 changes: 26 additions & 0 deletions modules/templates/HIMS/base/tasks.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# =============================================================================
# Add a list of CSV files to import into the system
#
# The list of import files is a comma separated list as follows:
#
# prefix,tablename,csv file name,stylesheet
#
# The CSV file is assumed to be in the same directory as this file
# The style sheet is assumed to be in either of the following directories:
# static/formats/s3csv/prefix/
# static/formats/s3csv/
#
# For details on how to import data into the system see the following:
# zzz_1st_run
# s3import::S3BulkImporter
# =============================================================================
# Projections
gis,projection,gis_projection.csv,projection.xsl
# Marker
gis,marker,gis_marker.csv,marker.xsl
# GIS Config (refers to Marker)
gis,config,gis_config.csv,config.xsl
gis,hierarchy,gis_hierarchy.csv,hierarchy.xsl
# Countries
gis,location,locations/countries.csv,location.xsl
# END -------------------------------------------------------------------------
4 changes: 4 additions & 0 deletions modules/templates/HIMS/categories/dvr_case_status.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Position,Code,Status,Default,Comments
1,PENDING,Pending,false,
2,OPEN,Open,true,
3,CLOSED,Closed,false,
20 changes: 20 additions & 0 deletions modules/templates/HIMS/categories/tasks.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# =============================================================================
# Additional Taxonomies for Sahana Eden
# =============================================================================
# Add a list of CSV files to import into the system
#
# The list of import files is a comma separated list as follows:
#
# prefix,tablename,csv file name,stylesheet
#
# The CSV file is assumed to be in the same directory as this file
# The style sheet is assumed to be in either of the following directories:
# static/formats/s3csv/prefix/
# static/formats/s3csv/
#
# For details on how to import data into the system see the following:
# zzz_1st_run
# s3import::S3BulkImporter
# =============================================================================
work,job_type,work_job_type.csv,job_type.xsl
# =============================================================================
1 change: 1 addition & 0 deletions modules/templates/HIMS/categories/work_job_type.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Name,Comments
4 changes: 4 additions & 0 deletions modules/templates/HIMS/cms_post.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Name,Module,Resource,Body
About,default,about,"<h2>About</h2>"
Help,default,help,"<h2>Help</h2><a href='http://eden.sahanafoundation.org/wiki/UserGuidelines' target='_blank'>User & Administration Guide</a> - online version"
CMS Module Index,cms,,"<h2>Content Management System</h2><p>This module allows the editing of page content using a web browser.</p><p>Posts can be either full pages, embedded within other pages or part of a series (for use as news items or blog posts)</p>"
Loading