geoenvo / geonode

GeoNode is an open source platform that facilitates the creation, sharing, and collaborative use of geospatial data.
http://geonode.org/
GNU General Public License v3.0
0 stars 0 forks source link

P1 Approval for Publish data #2

Closed senoadiw closed 9 years ago

mf4dl1 commented 9 years ago

Requirments

Upload data oleh user akan otomatis mengirimkan email ke admin SKPD untuk diminta approval publish data.

Saat User melakukan upload data, data tidak secara langsung terpublish (hanya bisa dilihat di internal SKPD) selanjutnya data akan di cek dan di “approve” oleh Admin SKPD yang lebih berwenang.

Approx MD

5 MD.

Progress

(already 50%)

senoadiw commented 9 years ago

Notification feature enabled and added however there is a bug from upstream => http://osgeo-org.1560.x6.nabble.com/uploading-layer-and-enable-notifications-td5214225.html

senoadiw commented 9 years ago

Bug fix solution: give www-data write permission to /var/www dir

sudo chown root:www-data /var/www
sudo chmod g+w /var/www
senoadiw commented 9 years ago

Sends layer_created notice email to 'Pengelola Basis Data' group managers.

Must set valid email in my_geonode/local_settings.py (gmail example below):

EMAIL_HOST = 'smtp.gmail.com'
EMAIL_HOST_USER = 'geonodeemail@gmail.com'
EMAIL_HOST_PASSWORD = 'geonodeemailpassword'
EMAIL_PORT = 587