Yeah the Francesco idea is very similar to the sites one. The groups can be used also, you have to take care if them across all instances while the sites are born exactly for that purpose. And the change to the API is minimal. <span></span><br><br>Il venerdì 19 giugno 2015, Francesco Bartoli <<a href="mailto:xbartolone@gmail.com">xbartolone@gmail.com</a>> ha scritto:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Hi,<div><br></div><div>why not exploiting the capabilities of haystack with SearchIndex and filters based on fields [1]? This would mean to alter the model of layers by adding a project field that would be used with the indexed document. Theoretically this could work, never tried though.</div><div><br></div><div>Regards,</div><div>Francesco</div><div><br></div><div>[1] <a href="http://django-haystack.readthedocs.org/en/latest/searchindex_api.html" target="_blank">http://django-haystack.readthedocs.org/en/latest/searchindex_api.html</a></div><div><br></div><div><br><div><div>Il giorno 18/giu/2015, alle ore 18:30, John Jediny <<a href="javascript:_e(%7B%7D,'cvml','john.jediny@gmail.com');" target="_blank">john.jediny@gmail.com</a>> ha scritto:</div><br><blockquote type="cite">Simone/Jeff,<div><br></div><div>Is there an advantage to using the contrib model over using a filter on the api to list resources the group has permissions over?<span></span><br><br>On Thursday, June 18, 2015, Simone Dalmasso <<a href="javascript:_e(%7B%7D,'cvml','simone.dalmasso@gmail.com');" target="_blank">simone.dalmasso@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Daniel, this would require some development, and you could use this <a href="https://docs.djangoproject.com/en/1.8/ref/contrib/sites/" target="_blank">https://docs.djangoproject.com/en/1.8/ref/contrib/sites/</a></div><div class="gmail_extra"><br><div class="gmail_quote">2015-06-18 14:06 GMT+02:00 Daniel Victoria <span dir="ltr"><<a>daniel.victoria@gmail.com</a>></span>:<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>Hi List,<br><br></div>Very simple question regarding the usual practices with geonode. We are using GeoNode to catalog data from several projects and we'd like to be able to do a search based on each project, i.e. all layers related to project X. My initial feeling was to implement this using the keywords. Does that sound reasonable? Or is there a better way? A colleague suggested using groups by project. Would that be a better option? O groups are more specific for user management and not intended for that?<br><br></div>Thanks<span><font color="#888888"><br></font></span></div><span><font color="#888888">Daniel<br></font></span></div>
<br>_______________________________________________<br>
geonode-users mailing list<br>
<a>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><br clear="all"><div><br></div>-- <br><div>Simone </div>
</div>
</blockquote></div><br><br>-- <br>Cell: 973-931-0580<br><br><div style="padding:0px;margin-left:0px;margin-top:0px;overflow:hidden;word-wrap:break-word;font-size:10px;text-align:left;line-height:130%"></div><br>
_______________________________________________<br>geonode-users mailing list<br><a href="javascript:_e(%7B%7D,'cvml','geonode-users@lists.osgeo.org');" target="_blank">geonode-users@lists.osgeo.org</a><br><a href="http://lists.osgeo.org/cgi-bin/mailman/listinfo/geonode-users" target="_blank">http://lists.osgeo.org/cgi-bin/mailman/listinfo/geonode-users</a><br></blockquote></div><br></div></div></blockquote><br><br>-- <br>Simone <br>