[GeoNode-users] Again on authentication - geofence
simone.dalmasso at gmail.com
Tue Jul 11 05:26:42 PDT 2017
Ciao Annalisa, try python manage.py fixoauthuri, this will create a
client_od and _secret_key in your db, that you can the copy paste in your
2017-07-11 14:22 GMT+02:00 Annalisa Schiavon <annalisa.schiavon at gmail.com>:
> I try to run the command under my geonode-project but doesn't work:
> system at bender:~/geoportale26$ python manage.py fixgeofencerules
> Unknown command: 'fixgeofencerules'
> Type 'manage.py help' for usage.
> Where can I run it?
> Meanwhile I run:
> geonode updatelayers -i --remove-deleted
> ... and it removed all my layers!!! In the old geonode it works fine ...
> In geoserver I have all layers, now in geonode I have only documents and
> map .... What happened? I try to fix again with:
> geonode updatelayers
> sudo geonode-updateip 192.168.31.80
> but I still have no layers!!!
> 2017-07-11 13:14 GMT+02:00 Alessio Fabiani <alessio.fabiani at geo-
>> You can try to use the following management command, it should help you
>> to align permissions and geofence rules
>> python manage.py fixgeofencerules
>> Alessio Fabiani
>> GeoServer Professional Services from the experts! Visit
>> http://goo.gl/it488V for more information.
>> Ing. Alessio Fabiani
>> Founder/Technical Lead
>> GeoSolutions S.A.S.
>> Via di Montramito 3/A
>> 55054 Massarosa (LU)
>> phone: +39 0584 962313 <+39%200584%20962313>
>> fax: +39 0584 1660272 <+39%200584%20166%200272>
>> mob: +39 331 6233686 <+39%20331%20623%203686>
>> 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
>>> but I don't have generated new OAuth2 UserID and Secret key. How do you do
>>> 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.
>>> geonode-users mailing list
>>> geonode-users at lists.osgeo.org
> geonode-users mailing list
> geonode-users at lists.osgeo.org
-------------- next part --------------
An HTML attachment was scrubbed...
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 230117 bytes
Desc: not available
More information about the geonode-users