<div dir="ltr">Thanks Paolo!<div><br></div><div>It solved the issue. I owe you a beer. Daje!</div><div><br></div><div>Ciao.</div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>P.</div></div></div></div></div></div>
<br><div class="gmail_quote">On Tue, Nov 7, 2017 at 6:09 PM, Paolo Corti <span dir="ltr"><<a href="mailto:pcorti@gmail.com" target="_blank">pcorti@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">Hi Paolo<div>File a ticket. Later today I will try to backport the command to 2.6.x</div><div>cheers</div><span class="HOEnZb"><font color="#888888"><div>p</div></font></span><div><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Nov 7, 2017 at 12:02 PM, Paolo Pasquali <span dir="ltr"><<a href="mailto:paolo.pasquali@ithaca.polito.it" target="_blank">paolo.pasquali@ithaca.polito.<wbr>it</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 class="gmail_extra"><div><div class="m_-901100487919298847m_-8373746996925842010m_-3560237080626193305gmail_signature"><div dir="ltr"><div>I've run the script without layer.alternate (don't know what it is) and I get:</div><div><br></div><div><p style="margin:0px;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"><font size="1">Synchronizing permissions for layer 1/95</font></span></p>
<p style="margin:0px;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"><font size="1">('Unexpected error:', None)</font></span></p>
<p style="margin:0px;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"><font size="1">perm_spec is {u'users': {u'paolo': [u'view_resourcebase', u'download_resourcebase', u'change_resourcebase_metadata<wbr>', u'change_resourcebase', u'delete_resourcebase', u'change_resourcebase_permissi<wbr>ons', u'publish_resourcebase', u'change_layer_data', u'change_layer_style']}, u'groups': {u'anonymous': [u'download_resourcebase', u'view_resourcebase']}}</font></span></p></div><div><br></div><div><br></div><div><br></div></div></div></div><div><div class="m_-901100487919298847m_-8373746996925842010h5">
<br><div class="gmail_quote">On Tue, Nov 7, 2017 at 5:56 PM, Paolo Pasquali <span dir="ltr"><<a href="mailto:paolo.pasquali@ithaca.polito.it" target="_blank">paolo.pasquali@ithaca.polito.<wbr>it</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr">Sorry, maybe you asked for this:<div><br></div><div><p style="margin:0px;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"><font size="1">$ python manage.py sync_geofence</font></span></p><span class="m_-901100487919298847m_-8373746996925842010m_-3560237080626193305gmail-">
<p style="margin:0px;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"><font size="1">Traceback (most recent call last):</font></span></p>
<p style="margin:0px;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"><font size="1"> File "manage.py", line 11, in <module></font></span></p>
<p style="margin:0px;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"><font size="1"> execute_from_command_line(sys.<wbr>argv)</font></span></p>
<p style="margin:0px;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"><font size="1"> File "/usr/lib/python2.7/dist-packa<wbr>ges/django/core/management/__i<wbr>nit__.py", line 354, in execute_from_command_line</font></span></p>
<p style="margin:0px;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"><font size="1"> utility.execute()</font></span></p>
<p style="margin:0px;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"><font size="1"> File "/usr/lib/python2.7/dist-packa<wbr>ges/django/core/management/__i<wbr>nit__.py", line 346, in execute</font></span></p>
<p style="margin:0px;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"><font size="1"> self.fetch_command(subcommand)<wbr>.run_from_argv(self.argv)</font></span></p>
<p style="margin:0px;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"><font size="1"> File "/usr/lib/python2.7/dist-packa<wbr>ges/django/core/management/bas<wbr>e.py", line 394, in run_from_argv</font></span></p>
<p style="margin:0px;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"><font size="1"> self.execute(*args, **cmd_options)</font></span></p>
<p style="margin:0px;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"><font size="1"> File "/usr/lib/python2.7/dist-packa<wbr>ges/django/core/management/bas<wbr>e.py", line 445, in execute</font></span></p>
<p style="margin:0px;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"><font size="1"> output = self.handle(*args, **options)</font></span></p>
</span><p style="margin:0px;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"><font size="1"> File "/usr/local/lib/python2.7/dist<wbr>-packages/geonode/base/managem<wbr>ent/commands/sync_geofence.py"<wbr>, line 53, in handle</font></span></p>
<p style="margin:0px;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"><font size="1"> print 'Synchronizing permissions for layer %s/%s: %s' % (count, layers_count, layer.alternate)</font></span></p>
<p style="margin:0px;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"><font size="1">AttributeError: 'Layer' object has no attribute 'alternate'</font></span></p></div></div><div class="gmail_extra"><br clear="all"><div><div class="m_-901100487919298847m_-8373746996925842010m_-3560237080626193305gmail-m_-8058568952315487787gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>--------------------<br>Paolo Pasquali</div><div>ITHACA</div><div>Information Technology for Humanitarian Assistance, Cooperation and Action<br><a href="https://maps.google.com/?q=via+Pier+Carlo+Boggio,+61+-%C2%A010138+Torino+-+Italy&entry=gmail&source=g" target="_blank">via Pier Carlo Boggio, 61 - 10138 Torino - Italy</a><br>Tel. <a href="tel:+39%20011%201975%201111" value="+3901119751111" target="_blank">+39 011 1975 1111</a><br>Fax <a href="tel:+39%20011%201975%201122" value="+3901119751122" target="_blank">+39 011 1975 1122</a></div><div><a href="http://www.ithacaweb.org" target="_blank">www.ithacaweb.org</a></div></div></div></div></div></div><div><div class="m_-901100487919298847m_-8373746996925842010m_-3560237080626193305gmail-h5">
<br><div class="gmail_quote">On Tue, Nov 7, 2017 at 5:30 PM, Paolo Pasquali <span dir="ltr"><<a href="mailto:paolo.pasquali@ithaca.polito.it" target="_blank">paolo.pasquali@ithaca.polito.<wbr>it</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div><div class="m_-901100487919298847m_-8373746996925842010m_-3560237080626193305gmail-m_-8058568952315487787m_8808211217209167157gmail_signature"><div dir="ltr"><div>Hi,</div><div><br></div><div>No stack trace. It seems it does nothing.</div><div><br></div><div>Thanks.</div><div><br></div><div><br></div></div></div></div><div><div class="m_-901100487919298847m_-8373746996925842010m_-3560237080626193305gmail-m_-8058568952315487787h5">
<br><div class="gmail_quote">On Tue, Nov 7, 2017 at 5:21 PM, Paolo Corti <span dir="ltr"><<a href="mailto:pcorti@gmail.com" target="_blank">pcorti@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi Paolo<div><br></div><div>Strange, it should work. Can you remove the try/except block and send me again the stack trace?</div><div>thanks</div><span class="m_-901100487919298847m_-8373746996925842010m_-3560237080626193305gmail-m_-8058568952315487787m_8808211217209167157HOEnZb"><font color="#888888"><div><br></div><div>p</div></font></span></div><div class="m_-901100487919298847m_-8373746996925842010m_-3560237080626193305gmail-m_-8058568952315487787m_8808211217209167157HOEnZb"><div class="m_-901100487919298847m_-8373746996925842010m_-3560237080626193305gmail-m_-8058568952315487787m_8808211217209167157h5"><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Nov 7, 2017 at 10:06 AM, Paolo Pasquali <span dir="ltr"><<a href="mailto:paolo.pasquali@ithaca.polito.it" target="_blank">paolo.pasquali@ithaca.polito.<wbr>it</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_extra">Ciao Paolo.</div><div class="gmail_extra"><br></div><div class="gmail_extra">Actually I'm getting an error:</div><div class="gmail_extra"><br></div><div class="gmail_extra"><p style="margin:0px;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"><font size="1">$ python manage.py sync_geofence</font></span></p>
<p style="margin:0px;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"><font size="1">('Unexpected error:', <type 'exceptions.AttributeError'>)</font></span></p>
<p style="margin:0px;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"><font size="1">Traceback (most recent call last):</font></span></p>
<p style="margin:0px;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"><font size="1"> File "manage.py", line 11, in <module></font></span></p>
<p style="margin:0px;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"><font size="1"> execute_from_command_line(sys.<wbr>argv)</font></span></p>
<p style="margin:0px;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"><font size="1"> File "/usr/lib/python2.7/dist-packa<wbr>ges/django/core/management/__i<wbr>nit__.py", line 354, in execute_from_command_line</font></span></p>
<p style="margin:0px;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"><font size="1"> utility.execute()</font></span></p>
<p style="margin:0px;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"><font size="1"> File "/usr/lib/python2.7/dist-packa<wbr>ges/django/core/management/__i<wbr>nit__.py", line 346, in execute</font></span></p>
<p style="margin:0px;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"><font size="1"> self.fetch_command(subcommand)<wbr>.run_from_argv(self.argv)</font></span></p>
<p style="margin:0px;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"><font size="1"> File "/usr/lib/python2.7/dist-packa<wbr>ges/django/core/management/bas<wbr>e.py", line 394, in run_from_argv</font></span></p>
<p style="margin:0px;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"><font size="1"> self.execute(*args, **cmd_options)</font></span></p>
<p style="margin:0px;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"><font size="1"> File "/usr/lib/python2.7/dist-packa<wbr>ges/django/core/management/bas<wbr>e.py", line 445, in execute</font></span></p>
<p style="margin:0px;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"><font size="1"> output = self.handle(*args, **options)</font></span></p>
<p style="margin:0px;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"><font size="1"> File "/usr/local/lib/python2.7/dist<wbr>-packages/geonode/base/managem<wbr>ent/commands/sync_geofence.py"<wbr>, line 58, in handle</font></span></p>
<p style="margin:0px;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"><font size="1"> print 'perm_spec is %s' % perm_spec</font></span></p>
<p style="margin:0px;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"><font size="1">UnboundLocalError: local variable 'perm_spec' referenced before assignment</font></span></p></div><div class="gmail_extra"><br></div><div class="gmail_extra">Thanks!</div><span class="m_-901100487919298847m_-8373746996925842010m_-3560237080626193305gmail-m_-8058568952315487787m_8808211217209167157m_6642158977605105219HOEnZb"><font color="#888888"><div class="gmail_extra"><br></div><div class="gmail_extra">P.</div></font></span><div><div class="m_-901100487919298847m_-8373746996925842010m_-3560237080626193305gmail-m_-8058568952315487787m_8808211217209167157m_6642158977605105219h5"><div class="gmail_extra"><br>
<br><div class="gmail_quote">On Tue, Nov 7, 2017 at 3:44 PM, Paolo Corti <span dir="ltr"><<a href="mailto:pcorti@gmail.com" target="_blank">pcorti@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi Paolo<div><br><div>while I am not sure why this is happening (it shouldn't), in GeoNode master there is now a sync_geofence command which will fix things: <a href="https://github.com/GeoNode/geonode/blob/master/geonode/geoserver/management/commands/sync_geofence.py" target="_blank">https://github.com/Geo<wbr>Node/geonode/blob/master/geono<wbr>de/geoserver/management/comman<wbr>ds/sync_geofence.py</a></div><div><br></div><div>It should work for 2.6.x as well, in case not let me know</div><div>cheers</div><div>p</div><div><div class="gmail_extra"><div><div class="m_-901100487919298847m_-8373746996925842010m_-3560237080626193305gmail-m_-8058568952315487787m_8808211217209167157m_6642158977605105219m_-9108117453885461668gmail-h5"><br><div class="gmail_quote">On Tue, Nov 7, 2017 at 4:29 AM, Paolo Pasquali <span dir="ltr"><<a href="mailto:paolo.pasquali@ithaca.polito.it" target="_blank">paolo.pasquali@ithaca.polito.<wbr>it</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div><div class="m_-901100487919298847m_-8373746996925842010m_-3560237080626193305gmail-m_-8058568952315487787m_8808211217209167157m_6642158977605105219m_-9108117453885461668gmail-m_-3621803687747161421gmail-m_9035055182660587676m_8878674359170539684gmail_signature"><div dir="ltr"><div>Dear all,</div><div><br></div><div>I'm experiencing this problem with GeoNode 2.6.3. From some point on, every layer I upload does not appear in the GeoFence list.</div><div>I've tried to edit and save permissions, restart Apache, Tomcat, run fixlayerpermission but with no result.</div><div><br></div><div>This is not happening in my local installation that reflects the affected website.</div><div><br></div><div>Is there some action I can take except upgrading GeoServer?</div><div><br></div><div>Thanks.</div><div><br></div><div>Best,</div><div><br></div><div>Paolo</div><div><br></div><div><br></div><div><br></div><div><br></div></div></div></div>
<br><div class="gmail_quote">On Tue, Jun 13, 2017 at 12:59 PM, Federico Gianoli <span dir="ltr"><<a href="mailto:alpacagis@gmail.com" target="_blank">alpacagis@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr">Dear list,<div><br></div><div>It seems that the problem with the permission is solved with the upgrading of geoserver to 2.10 version</div><div><br></div><div>Thanks Alessio for your help</div><div><br></div><div><br></div></div><div class="m_-901100487919298847m_-8373746996925842010m_-3560237080626193305gmail-m_-8058568952315487787m_8808211217209167157m_6642158977605105219m_-9108117453885461668gmail-m_-3621803687747161421gmail-m_9035055182660587676m_8878674359170539684HOEnZb"><div class="m_-901100487919298847m_-8373746996925842010m_-3560237080626193305gmail-m_-8058568952315487787m_8808211217209167157m_6642158977605105219m_-9108117453885461668gmail-m_-3621803687747161421gmail-m_9035055182660587676m_8878674359170539684h5"><div class="gmail_extra"><br><div class="gmail_quote">2017-06-09 12:42 GMT+02:00 Alessio Fabiani <span dir="ltr"><<a href="mailto:alessio.fabiani@geo-solutions.it" target="_blank">alessio.fabiani@geo-solutions<wbr>.it</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr">In that case you are correct. You need to double check that GeoFence access rules have been correctly set on GeoServer for the layer you are modifying.<div><br></div><div>If you cannot find them or the rules are not correctly updated, it is possible that there is some communication issue between GeoNode and GeoServer.</div><div><br></div><div><img src="cid:ii_15c8c71cea645cf5" alt="Inline image 1" width="562" height="178"><br></div><div><br></div><div>Maybe try to do some tests and double check that the rules actually change.</div><div><br></div><div>P.S.: do not use browser refresh on GeoFence Rules, but always click here</div><div><br></div><div><img src="cid:ii_15c8c72dae50edd2" alt="Inline image 2" width="231" height="224"><br></div><div><br></div><div><br></div><div><br></div></div><div class="gmail_extra"><span><br clear="all"><div><div class="m_-901100487919298847m_-8373746996925842010m_-3560237080626193305gmail-m_-8058568952315487787m_8808211217209167157m_6642158977605105219m_-9108117453885461668gmail-m_-3621803687747161421gmail-m_9035055182660587676m_8878674359170539684m_7925598266331009436m_-3835832212198699507gmail_signature"><div dir="ltr"><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><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 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"><a href="https://github.com/afabiani?tab=overview" style="font-size:12.8px" target="_blank">github</a><br></div><div style="font-size:12.8px">Founder/Technical Lead</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><div>GeoSolutions S.A.S.</div><div><a href="https://maps.google.com/?q=Via+di+Montramito+3/A55054+%C2%A0Massarosa&entry=gmail&source=g" target="_blank">Via di Montramito 3/A</a></div><div><a href="https://maps.google.com/?q=Via+di+Montramito+3/A55054+%C2%A0Massarosa&entry=gmail&source=g" target="_blank">55054 Massarosa</a> (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: +39 <span style="font-size:12.8px"><a href="tel:(331)%20623-3686" value="+13316233686" target="_blank">331 6233686</a></span></div><div><br></div><div><a href="http://www.geo-solutions.it/" target="_blank">http://www.geo-solutions.it</a></div><div><a href="http://twitter.com/geosolutions_it" target="_blank">http://twitter.com/geosolution<wbr>s_it</a></div></div><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></div></div></div>
<br></span><div><div class="m_-901100487919298847m_-8373746996925842010m_-3560237080626193305gmail-m_-8058568952315487787m_8808211217209167157m_6642158977605105219m_-9108117453885461668gmail-m_-3621803687747161421gmail-m_9035055182660587676m_8878674359170539684m_7925598266331009436h5"><div class="gmail_quote">On Fri, Jun 9, 2017 at 12:31 PM, Federico Gianoli <span dir="ltr"><<a href="mailto:alpacagis@gmail.com" target="_blank">alpacagis@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr">Thanks for your reply Alessio,<div><br><div>about the layer preview question, I am logged in with the "SGI" user, that should be have the permission to see the layer. </div><div>Moreover, the user that I'm using, is part of the "Staff" group, but I can't see the layer preview.</div></div><div>Where I am wrong?</div><div><br></div><div><img src="cid:ii_15c8c58b006cfd6d" alt="Immagine incorporata 1" width="506" height="307"><br></div><div><br></div><div><br></div><div>Really thanks</div><span class="m_-901100487919298847m_-8373746996925842010m_-3560237080626193305gmail-m_-8058568952315487787m_8808211217209167157m_6642158977605105219m_-9108117453885461668gmail-m_-3621803687747161421gmail-m_9035055182660587676m_8878674359170539684m_7925598266331009436m_-3835832212198699507HOEnZb"><font color="#888888"><div><br></div><div>Federico</div></font></span></div><div class="m_-901100487919298847m_-8373746996925842010m_-3560237080626193305gmail-m_-8058568952315487787m_8808211217209167157m_6642158977605105219m_-9108117453885461668gmail-m_-3621803687747161421gmail-m_9035055182660587676m_8878674359170539684m_7925598266331009436m_-3835832212198699507HOEnZb"><div class="m_-901100487919298847m_-8373746996925842010m_-3560237080626193305gmail-m_-8058568952315487787m_8808211217209167157m_6642158977605105219m_-9108117453885461668gmail-m_-3621803687747161421gmail-m_9035055182660587676m_8878674359170539684m_7925598266331009436m_-3835832212198699507h5"><div class="gmail_extra"><br><div class="gmail_quote">2017-06-09 11:00 GMT+02:00 Alessio Fabiani <span dir="ltr"><<a href="mailto:alessio.fabiani@geo-solutions.it" target="_blank">alessio.fabiani@geo-solutions<wbr>.it</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hello,<div><br></div><div>1) if you remove "Anyone" check the layer is no more publicly accessible. It will be visible only by logged-in users belonging to allowed groups.</div><div><br></div><div>2) you can either change the Javascript of the map composer or manually modify the SLDs on GeoServer by setting ths Max and Min Scale Denominators</div></div><div class="gmail_extra"><br clear="all"><div><div class="m_-901100487919298847m_-8373746996925842010m_-3560237080626193305gmail-m_-8058568952315487787m_8808211217209167157m_6642158977605105219m_-9108117453885461668gmail-m_-3621803687747161421gmail-m_9035055182660587676m_8878674359170539684m_7925598266331009436m_-3835832212198699507m_7611311759110319719m_1450882161307050152gmail_signature"><div dir="ltr"><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><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 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"><a href="https://github.com/afabiani?tab=overview" style="font-size:12.8px" target="_blank">github</a><br></div><div style="font-size:12.8px">Founder/Technical Lead</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><div>GeoSolutions S.A.S.</div><div><a href="https://maps.google.com/?q=Via+di+Montramito+3/A55054+%C2%A0Massarosa&entry=gmail&source=g" target="_blank">Via di Montramito 3/A</a></div><div><a href="https://maps.google.com/?q=Via+di+Montramito+3/A55054+%C2%A0Massarosa&entry=gmail&source=g" target="_blank">55054 Massarosa</a> (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: +39 <span style="font-size:12.8px"><a href="tel:(331)%20623-3686" value="+13316233686" target="_blank">331 6233686</a></span></div><div><br></div><div><a href="http://www.geo-solutions.it/" target="_blank">http://www.geo-solutions.it</a></div><div><a href="http://twitter.com/geosolutions_it" target="_blank">http://twitter.com/geosolution<wbr>s_it</a></div></div><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></div></div></div>
<br><div class="gmail_quote"><div><div class="m_-901100487919298847m_-8373746996925842010m_-3560237080626193305gmail-m_-8058568952315487787m_8808211217209167157m_6642158977605105219m_-9108117453885461668gmail-m_-3621803687747161421gmail-m_9035055182660587676m_8878674359170539684m_7925598266331009436m_-3835832212198699507m_7611311759110319719h5">On Thu, Jun 8, 2017 at 11:35 AM, Federico Gianoli <span dir="ltr"><<a href="mailto:alpacagis@gmail.com" target="_blank">alpacagis@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div><div class="m_-901100487919298847m_-8373746996925842010m_-3560237080626193305gmail-m_-8058568952315487787m_8808211217209167157m_6642158977605105219m_-9108117453885461668gmail-m_-3621803687747161421gmail-m_9035055182660587676m_8878674359170539684m_7925598266331009436m_-3835832212198699507m_7611311759110319719h5"><div dir="ltr">Dear list, <div>I have two questions about geonode.(I am using 2.6 version)</div><div><br></div><div>1- Layer permission issue:</div><div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div>When I change the permission: "who can view it" from Anyone to a specific user/group, It works but the layer preview disappear, and I am not more able to see the layer shape. Should I have to set something in Django or Geoserver?</div><div><img src="cid:ii_15c86fa9fd90fd6f" alt="Immagine incorporata 1" width="488" height="296"><br></div><div><br></div></blockquote>2- Is it possible to fix a specific scale for the map view in the map composer? e.g. I would see a map only at 1:250'000 (or at the zoom level that is closest to 1:250'000...)</div><div><br></div><div>Thanks a lot</div><span class="m_-901100487919298847m_-8373746996925842010m_-3560237080626193305gmail-m_-8058568952315487787m_8808211217209167157m_6642158977605105219m_-9108117453885461668gmail-m_-3621803687747161421gmail-m_9035055182660587676m_8878674359170539684m_7925598266331009436m_-3835832212198699507m_7611311759110319719m_1450882161307050152HOEnZb"><font color="#888888"><div><br></div><div>Federico</div></font></span></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="https://lists.osgeo.org/mailman/listinfo/geonode-users" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailma<wbr>n/listinfo/geonode-users</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div></div></div>
</blockquote></div><br></div>
</div></div><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="https://lists.osgeo.org/mailman/listinfo/geonode-users" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailma<wbr>n/listinfo/geonode-users</a><br>
<br></blockquote></div><br></div></div>
<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="https://lists.osgeo.org/mailman/listinfo/geonode-users" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailma<wbr>n/listinfo/geonode-users</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div></div></div><span class="m_-901100487919298847m_-8373746996925842010m_-3560237080626193305gmail-m_-8058568952315487787m_8808211217209167157m_6642158977605105219m_-9108117453885461668gmail-HOEnZb"><font color="#888888">-- <br><div class="m_-901100487919298847m_-8373746996925842010m_-3560237080626193305gmail-m_-8058568952315487787m_8808211217209167157m_6642158977605105219m_-9108117453885461668gmail-m_-3621803687747161421gmail_signature">Paolo Corti<br>Geospatial software developer<br>web: <a href="http://www.paolocorti.net" target="_blank">http://www.paolocorti.net</a><br>twitter: @capooti<br>skype: capooti</div>
</font></span></div></div></div></div>
</blockquote></div><br></div></div></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="m_-901100487919298847m_-8373746996925842010m_-3560237080626193305gmail-m_-8058568952315487787m_8808211217209167157m_6642158977605105219gmail_signature">Paolo Corti<br>Geospatial software developer<br>web: <a href="http://www.paolocorti.net" target="_blank">http://www.paolocorti.net</a><br>twitter: @capooti<br>skype: capooti</div>
</div>
</div></div></blockquote></div><br></div></div></div></div>
</blockquote></div><br></div></div></div>
</blockquote></div><br></div></div></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="m_-901100487919298847m_-8373746996925842010gmail_signature" data-smartmail="gmail_signature">Paolo Corti<br>Geospatial software developer<br>web: <a href="http://www.paolocorti.net" target="_blank">http://www.paolocorti.net</a><br>twitter: @capooti<br>skype: capooti</div>
</div></div></div></div>
</blockquote></div><br></div></div>