[GeoNode-users] Again on authentication - geofence

Annalisa Schiavon annalisa.schiavon at gmail.com
Tue Jul 18 04:00:52 PDT 2017


Hi Alessio and geonode users,
I still have some issue with geofence.
I have tried the command you suggest

system at bender:~$ geonode fixgeofencerules
Unknown command: 'fixgeofencerules'
Type 'django-admin help' for usage.

with no success.
I should execute from a specific dir?

I have installed geonode 2.6.1 from apt-get, in standard mode. In geofence
Admin Page, the connection is successful, but down in the page I found user
cache misses :

[image: Immagine incorporata 2]

Is there documentation on how setting geofence integrated in geonode?
Any suggestions?

Please help!


2017-07-11 13:14 GMT+02:00 Alessio Fabiani <alessio.fabiani at geo-solutions.it
>:

> You can try to use the following management command, it should help you to
> align permissions and geofence rules
>
> python manage.py fixgeofencerules
>
>
>
> Regards,
>
> Alessio Fabiani
>
> ==
> GeoServer Professional Services from the experts! Visit
> http://goo.gl/it488V for more information.
> ==
>
> Ing. Alessio Fabiani
>
> @alfa7691
> 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 <+39%20331%20623%203686>
>
> 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 Tue, Jul 11, 2017 at 1:44 PM, Annalisa Schiavon <
> annalisa.schiavon at gmail.com> wrote:
>
>> Hi all.
>> I've still the problem of layer's thumbs not displayed.
>>
>> But more important, if I don't login in geonode with geonode user, I
>> can't see most of layers with permission to all users!
>> Even stranger, if I log in with geonode and than log out, I can see them.
>>
>> I checked all steps of  http://docs.geonode.org/en
>> /master/tutorials/admin/geoserver_geonode_security/index.html
>> <http://docs.geonode.org/en/master/tutorials/admin/geoserver_geonode_security/index.html?highlight=oauth2>
>> but I don't  have generated new OAuth2 UserID and Secret key. How do you do
>> it?
>>
>> I've noticed that under GeoFence Data Rules I've only few rules:
>>
>> [image: Immagine incorporata 1]
>>
>> I've checked permissions and saved only for a layer, and that is
>> displayed without problems from anonymous user.
>> I've to reapply permissions for all my 110 layers??? Is it this the
>> problem, for you?
>>
>> I attach tomcat and apache logs.
>>
>> Thanks,
>> Annalisa
>>
>> _______________________________________________
>> 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/20170718/1004df7a/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 144581 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20170718/1004df7a/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 230117 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20170718/1004df7a/attachment-0003.png>


More information about the geonode-users mailing list