[GeoNode-users] Permission file || How to fix a specific scale in map composer

Federico Gianoli alpacagis at gmail.com
Tue Jun 13 03:59:33 PDT 2017


Dear list,

It seems that the problem with the permission is solved with the upgrading
of geoserver to 2.10 version

Thanks Alessio for your help



2017-06-09 12:42 GMT+02:00 Alessio Fabiani <alessio.fabiani at geo-solutions.it
>:

> 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.
>
> 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.
>
> [image: Inline image 1]
>
> Maybe try to do some tests and double check that the rules actually change.
>
> P.S.: do not use browser refresh on GeoFence Rules, but always click here
>
> [image: Inline image 2]
>
>
>
>
> Best Regards,
> Alessio Fabiani.
>
> ==
> GeoServer Professional Services from the experts!
> Visit http://goo.gl/it488V for more information.
> ==
>
> Ing. Alessio Fabiani
> @alfa7691
> github <https://github.com/afabiani?tab=overview>
> Founder/Technical Lead
>
> GeoSolutions S.A.S.
> Via di Montramito 3/A
> 55054  Massarosa (LU)
> Italy
> phone: +39 0584 962313 <+39%200584%20962313>
> fax:     +39 0584 1660272 <+39%200584%20166%200272>
> mob:   +39 331 6233686 <(331)%20623-3686>
>
> http://www.geo-solutions.it
> http://twitter.com/geosolutions_it
>
> -------------------------------------------------------
>
> *AVVERTENZE AI SENSI DEL D.Lgs. 196/2003*
>
> 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.
>
>
>
> 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.
>
> ---------------------------------------------------------------------
>
> On Fri, Jun 9, 2017 at 12:31 PM, Federico Gianoli <alpacagis at gmail.com>
> wrote:
>
>> Thanks  for your reply Alessio,
>>
>> about the layer preview question, I am logged in with the "SGI" user,
>> that should be have the permission to see the layer.
>> Moreover, the user that I'm using, is part of the "Staff" group, but I
>> can't see the layer preview.
>> Where I am wrong?
>>
>> [image: Immagine incorporata 1]
>>
>>
>> Really thanks
>>
>> Federico
>>
>> 2017-06-09 11:00 GMT+02:00 Alessio Fabiani <alessio.fabiani at geo-solutions
>> .it>:
>>
>>> Hello,
>>>
>>> 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.
>>>
>>> 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
>>>
>>> Best Regards,
>>> Alessio Fabiani.
>>>
>>> ==
>>> GeoServer Professional Services from the experts!
>>> Visit http://goo.gl/it488V for more information.
>>> ==
>>>
>>> Ing. Alessio Fabiani
>>> @alfa7691
>>> github <https://github.com/afabiani?tab=overview>
>>> Founder/Technical Lead
>>>
>>> GeoSolutions S.A.S.
>>> Via di Montramito 3/A
>>> 55054  Massarosa (LU)
>>> Italy
>>> phone: +39 0584 962313 <+39%200584%20962313>
>>> fax:     +39 0584 1660272 <+39%200584%20166%200272>
>>> mob:   +39 331 6233686 <(331)%20623-3686>
>>>
>>> http://www.geo-solutions.it
>>> http://twitter.com/geosolutions_it
>>>
>>> -------------------------------------------------------
>>>
>>> *AVVERTENZE AI SENSI DEL D.Lgs. 196/2003*
>>>
>>> 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.
>>>
>>>
>>>
>>> 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.
>>>
>>> ---------------------------------------------------------------------
>>>
>>> On Thu, Jun 8, 2017 at 11:35 AM, Federico Gianoli <alpacagis at gmail.com>
>>> wrote:
>>>
>>>> Dear list,
>>>> I have two questions about geonode.(I am using 2.6 version)
>>>>
>>>> 1- Layer permission issue:
>>>>
>>>> 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?
>>>> [image: Immagine incorporata 1]
>>>>
>>>> 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...)
>>>>
>>>> Thanks a lot
>>>>
>>>> Federico
>>>>
>>>> _______________________________________________
>>>> geonode-users mailing list
>>>> geonode-users at lists.osgeo.org
>>>> https://lists.osgeo.org/mailman/listinfo/geonode-users
>>>>
>>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20170613/b0e5cccd/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 282145 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20170613/b0e5cccd/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 9997 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20170613/b0e5cccd/attachment-0005.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 38146 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20170613/b0e5cccd/attachment-0006.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 282145 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20170613/b0e5cccd/attachment-0007.png>


More information about the geonode-users mailing list