<div dir="ltr"><div><div><div><div>Hi list,<br><br></div>We'd like to create some groups in GeoNode similar to what Seno describes bellow. One group that can upload data and fill the metadata but not make it public. And a second group that will review, correct the metadata and make it public. Is this done using only the group permissions? Or are there some other things that need to be changed?<br><br></div>Also, looking at the group permissions in the administration panel, I got lost. Is there some place that describes what each of the permissions is for? Some are quite self-describing but, what is the difference between:<br></div>a) can add layer vs. can add layer file<br></div>b) can add upload vs. can add upload file<br><div><div><br><div>Cheers<br></div><div>Daniel<br></div><div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Sep 7, 2015 at 9:25 AM, Seno Adiwicaksono <span dir="ltr"><<a href="mailto:senoadiw@gmail.com" target="_blank">senoadiw@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div>Dear all,<br><br></div>I have a specific use case with regards the django-notification used in GeoNode. The requirements are to only send a layer_created notice to specific group managers. The group managers will then review and publish the uploaded layer. I put a call to notification.send(managers, 'layer_created', notif_ctx) after a new layer object is saved, which then sends the layer_created email to the managers. However they receive 2 layer_created emails. I suppose the first one is from my manual call and the second one is because the managers are subscribed to layer_created in the notification settings. I then uncheck the setting and tried uploading another layer expecting to receive only 1 email this time, however none was received. I enabled the settings again and 2 emails were delivered. I find it strange that the saved settings would also affect my manual call.<br><br></div>So my question is where in GeoNode's code can I look to disable sending the 2nd email?<br><br></div><div>Thanks,<br><br></div><div>SN<br></div></div>
<br>_______________________________________________<br>
geonode-users mailing list<br>
<a href="mailto:geonode-users@lists.osgeo.org">geonode-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/cgi-bin/mailman/listinfo/geonode-users" rel="noreferrer" target="_blank">http://lists.osgeo.org/cgi-bin/mailman/listinfo/geonode-users</a><br>
<br></blockquote></div><br></div></div></div></div></div></div></div>