[GeoNode-devel] Geoserver Layers from 2.4 to 2.6 - permissions

Paolo Corti pcorti at gmail.com
Fri Dec 15 12:47:47 PST 2017


Hi
I would do two things:
1) use GeoServer security directory of 2.6 in place of the one you
have in your GeoServer data directory. You will need to set oauth
parameters
2) sync permissions in GeoFence with the sync_geofence command
Hope this helps
Paolo

On Fri, Dec 15, 2017 at 2:58 PM, LM Admin <skeenamaps at gmail.com> wrote:
> Hi all,
>
> I recently upgraded a client's map portal from Geonode 2.4 to 2.6.  I copied
> the db and updated to the 2.6 schema using manage.py --fake-initial, and
> updatemaplayerip. I also copied the entire Geoserver data directory.  When
> logged in as a registered user, maps and layers work fine. However, as an
> anonymous user (not logged in), none of the layers render correctly in
> Geoserver--instead I get error tiles of class olTileImage.olImageLoadError.
> In Geonode, all of these layers are set to public.
>
> However, new layers that I upload display correctly for both registered and
> anonymous users. So the permission issue is limited to layers imported from
> Geonode 2.4.  Given the change in Geoserver versions, and the change in
> authentication, is copying the entire Geoserver data directory the right
> thing to do? Or am I missing a step?
>
> Thank you,
>
> LM
>
> _______________________________________________
> geonode-devel mailing list
> geonode-devel at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/geonode-devel
>



-- 
Paolo Corti
Geospatial software developer
web: http://www.paolocorti.net
twitter: @capooti
skype: capooti


More information about the geonode-devel mailing list