<div dir="ltr">Eugenio,<div><br></div><div>not sure about the workspace, probably the default one is used and the doc must be update, I'll find some time to check it.</div><div><br></div><div>Anyway geosites already separates the layers, docs, maps and users by site. A layer uploaded by a normal user in a site will be visible only in that site. The normal use itself is visible in the specific site. Only administrators have access to all sites and resources. Geoserver getCapabilities also respect this so you don't have to worry. You as administrator can do other operations such as share resources or people across more sites.</div></div><div class="gmail_extra"><br><div class="gmail_quote">2017-01-18 9:42 GMT+01:00 Eugenio Trumpy <span dir="ltr"><<a href="mailto:frippe12573@hotmail.com" target="_blank">frippe12573@hotmail.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 id="m_5325400316895580196divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif" dir="ltr">
<p>Dear Simone,</p>
<p><br>
</p>
<p>I understood there is not the possibility to upload layers from sites in different geoserver workspaces (is that definitely true or there is a way to setup that by hand?) as described in the documentation, the only way is to load all the layers from sites
 in the same geoserver workspace (geonode is the default), then to yield layers visible to different sites the administrator should setup the security data for each layer to a role specially created, am I correct?</p>
<p>In this way I guess the administrator has to check always if a user uploaded a layer in order to setup then the security on the uploaded layers, am I right?</p>
<p><br>
</p>
<p>Currently in my site I have no layers uploaded, however, I see a certain number of vector and raster layers uploaded (actually in 'geonode' geoserver workspace), that's why those layer are set *.*.r in geoserver?</p>
<p><br>
</p>
<p>ciao</p>
<p><br>
</p>
<p>Eugenio</p>
<p><br>
</p>
<br>
<br>
<div style="color:rgb(0,0,0)">
<hr style="display:inline-block;width:98%">
<div id="m_5325400316895580196divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>Da:</b> Eugenio Trumpy <<a href="mailto:frippe12573@hotmail.com" target="_blank">frippe12573@hotmail.com</a>><br>
<b>Inviato:</b> venerdì 13 gennaio 2017 12.04<br>
<b>A:</b> Simone Dalmasso; Alessio Fabiani<br>
<b>Cc:</b> <a href="mailto:geonode-users@lists.osgeo.org" target="_blank">geonode-users@lists.osgeo.org</a><span class=""><br>
<b>Oggetto:</b> Re: [GeoNode-users] default workspace for geosites</span></font>
<div> </div>
</div>
<div>
<div id="m_5325400316895580196divtagdefaultwrapper" dir="ltr" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif">
<p>The suggested way to store the layers belonging different geosites in geoserver It seemed nice to me.</p><span class="">
<p>I read it here: <a href="https://geonode.readthedocs.io/en/2.0/tutorials/admin/multi-tenancy.html" class="m_5325400316895580196OWAAutoLink" id="m_5325400316895580196LPlnk27449" target="_blank">https://geonode.<wbr>readthedocs.io/en/2.0/<wbr>tutorials/admin/multi-tenancy.<wbr>html</a></p>
</span><p>I wondered how I should create the workspace in geoserver.</p><div><div class="h5">
<p>I presume by hand from geoserver interface, then second question was where I have to </p>
<p>set the workspace for the geosite since in the global setting.py I have:</p>
<p>DEFAULT_WORKSPACE</p>
<p>and </p>
<p>CASCADE_WORKSPACE (what does it means? What is it?)</p>
<p><br>
</p>
<p>I suppose the master site has to have <span style="font-family:Calibri,Arial,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols;font-size:16px">DEFAULT_WORKSPACE = 'geonode'</span></p>
<p><span style="font-family:Calibri,Arial,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols;font-size:16px">whereas the site <span style="font-family:Calibri,Arial,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols;font-size:16px">DEFAULT_WORKSPACE
 = 'geosite', so loading a layer from the site it should use such workspace, is that right?</span></span></p>
<p><span style="font-family:Calibri,Arial,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols;font-size:16px"><span style="font-family:Calibri,Arial,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols;font-size:16px">Why
 it does not work?</span></span></p>
<p><span style="font-family:Calibri,Arial,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols;font-size:16px"><span style="font-family:Calibri,Arial,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols;font-size:16px"><br>
</span></span></p>
<p><span style="font-family:Calibri,Arial,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols;font-size:16px"><span style="font-family:Calibri,Arial,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols;font-size:16px">I
 understand that could be a second way (i.e. the way suggested by Simone), could you give me an example? I guess you act layer by layer adding new rules in geoserver 'Data security'.</span></span></p>
<p><span style="font-family:Calibri,Arial,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols;font-size:16px"><span style="font-family:Calibri,Arial,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols;font-size:16px"><br>
</span></span></p>
<p><span style="font-family:Calibri,Arial,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols;font-size:16px"><span style="font-family:Calibri,Arial,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols;font-size:16px">ciao</span></span></p>
<p><span style="font-family:Calibri,Arial,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols;font-size:16px"><span style="font-family:Calibri,Arial,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols;font-size:16px"><br>
</span></span></p>
<p><span style="font-family:Calibri,Arial,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols;font-size:16px"><span style="font-family:Calibri,Arial,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols;font-size:16px">Eugenio</span></span></p>
<br>
<br>
<br>
</div></div><div style="color:rgb(0,0,0)"><div><div class="h5">
<hr style="display:inline-block;width:98%">
<div id="m_5325400316895580196divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>Da:</b> Simone Dalmasso <<a href="mailto:simone.dalmasso@gmail.com" target="_blank">simone.dalmasso@gmail.com</a>><br>
<b>Inviato:</b> venerdì 13 gennaio 2017 11.45<br>
<b>A:</b> Alessio Fabiani<br>
<b>Cc:</b> Eugenio Trumpy; <a href="mailto:geonode-users@lists.osgeo.org" target="_blank">geonode-users@lists.osgeo.org</a><br>
<b>Oggetto:</b> Re: [GeoNode-users] default workspace for geosites</font>
<div> </div>
</div>
</div></div><div><div><div class="h5">
<div dir="ltr">Not sure about the default workspace it might be a geonode bug. But I leave the layers in the "geonode" one and it works well. Layers are managed respecting permissions, and it works well in the instances I have.</div>
</div></div><div class="gmail_extra"><br>
<div class="gmail_quote"><div><div class="h5">2017-01-13 10:59 GMT+01:00 Alessio Fabiani <span dir="ltr">
<<a href="mailto:alessio.fabiani@geo-solutions.it" target="_blank">alessio.fabiani@geo-<wbr>solutions.it</a>></span>:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
<div dir="ltr">Not sure but I'm afraid geonode has currently a lot of hardcoded stuff. It is quite premature speaking about multi-tenancy on GeoNode.</div>
</div></div><div class="gmail_extra"><br clear="all">
<div>
<div class="m_5325400316895580196m_6977679686042935831gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div>
<div style="font-size:12.8px">Best Regards,</div>
<div style="font-size:12.8px">Alessio Fabiani.</div>
<div style="font-size:12.8px"><br>
</div>
<div style="font-size:12.8px"><div><div class="h5">
<div>==</div>
<div>GeoServer Professional Services from the experts!</div>
<div>Visit <a href="http://goo.gl/it488V" target="_blank">http://goo.gl/it488V</a> for more information.</div>
</div></div><div>==</div>
</div><span class="">
<div style="font-size:12.8px"><br>
</div>
<div style="font-size:12.8px">Ing. Alessio Fabiani</div>
<div style="font-size:12.8px">@alfa7691</div>
<div style="font-size:12.8px">Founder/Technical Lead</div>
<div style="font-size:12.8px"><br>
</div>
</span><div style="font-size:12.8px"><span class="">
<div>GeoSolutions S.A.S.</div>
<div>Via di Montramito 3/A</div>
<div>55054  Massarosa (LU)</div>
<div>Italy</div>
<div>phone: <a href="tel:+39%200584%20962313" value="+390584962313" target="_blank">
+39 0584 962313</a></div>
<div>fax:     <a href="tel:+39%200584%20166%200272" value="+3905841660272" target="_blank">
+39 0584 1660272</a></div>
<div>mob:   <a href="tel:+39%20331%20623%203686" value="+393316233686" target="_blank">
+39 331 6233686</a></div>
<div><br>
</div>
<div><a href="http://www.geo-solutions.it" target="_blank">http://www.geo-solutions.it</a></div>
</span><div><a href="http://twitter.com/geosolutions_it" target="_blank">http://twitter.com/geosolution<wbr>s_it</a></div>
</div><span class="">
<div style="font-size:12.8px"><br>
</div>
<div style="font-size:12.8px">------------------------------<wbr>-------------------------</div>
<div style="font-size:12.8px"><br>
</div>
<div style="font-size:12.8px">
<p><span lang="IT"><font size="1"><b>AVVERTENZE AI SENSI DEL D.Lgs. 196/2003</b></font></span></p>
<p><span lang="IT"><font size="1">Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le
 finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare
 il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.</font></span></p>
<p><span lang="IT"><font size="1"> </font></span></p>
<p><font size="1">The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June,
 30 2003, no.196 - Italy's New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the
 named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability
 as the content, accuracy or completeness of sent messages and accepts no responsibility  for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.</font></p>
<p><font size="1">------------------------------<wbr>------------------------------<wbr>---------</font></p>
</div>
</span></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div><span class="">
<br>
<div class="gmail_quote">
<div>
<div class="m_5325400316895580196h5">On Fri, Jan 13, 2017 at 10:44 AM, Eugenio Trumpy <span dir="ltr">
<<a href="mailto:frippe12573@hotmail.com" target="_blank">frippe12573@hotmail.com</a>></span> wrote:<br>
</div>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<div class="m_5325400316895580196h5">
<div dir="ltr">
<div id="m_5325400316895580196m_6977679686042935831m_-9062185304195260219divtagdefaultwrapper" dir="ltr" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif">
<p>Dear all,</p>
<p><br>
</p>
<p>I setup geosites in my geonode instance.</p>
<p><br>
</p>
<p>I'm now testing the geosite I created. I tried to upload a SHP from my new geosite <span style="font-size:12pt">and the procedure went well. </span></p>
<p><span style="font-size:12pt">However in geoserver, I see the new layer under the workspace named 'geonode', which was created by the </span><span style="font-size:12pt">master site (for master site I mean the one we have with the default installation of
 geonode). </span><span style="font-size:12pt">Since i inserted the variable DEFAULT_WORKSPACE='mynewgeosit<wbr>e' in the settings.py placed in the folder of my new geosite, I was expected </span><span style="font-size:12pt">to have the new SHP in the new geoserver
 workspace.</span></p>
<p>Where am I wrong?</p>
<p><br>
</p>
<p>Moreover, after the layer upload I can see it in the layer list, but in the 'type' filter I see the vector layer loaded over all the others layers loaded in the master site.</p>
<p>I was expected to have only 1 layer. Is that correct or it is due to a somehow miss-configuration?</p>
<p><br>
</p>
<p>Thanks in advance</p>
<span class="m_5325400316895580196m_6977679686042935831HOEnZb"><font color="#888888">
<p><br>
</p>
<p>Eugenio</p>
</font></span></div>
</div>
<br>
</div>
</div>
______________________________<wbr>_________________<br>
geonode-users mailing list<br>
<a href="mailto:geonode-users@lists.osgeo.org" target="_blank">geonode-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/geonode-users" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman<wbr>/listinfo/geonode-users</a><br>
<br>
</blockquote>
</div>
<br>
</span></div><span class="">
<br>
______________________________<wbr>_________________<br>
geonode-users mailing list<br>
<a href="mailto:geonode-users@lists.osgeo.org" target="_blank">geonode-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/geonode-users" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman<wbr>/listinfo/geonode-users</a><br>
<br>
</span></blockquote><span class="HOEnZb"><font color="#888888">
</font></span></div><span class="HOEnZb"><font color="#888888">
<br>
<br clear="all">
<div><br>
</div>
-- <br>
<div class="m_5325400316895580196gmail_signature">Simone </div>
</font></span></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>

</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Simone </div>
</div>