<div dir="ltr"><div dir="ltr"><div dir="ltr">Ciao Paolo,<div><br></div><div>Thanks for the reply.</div><div>I've just tried with GeoExplorer and I'm getting the same error: <font face="monospace">Failed to load resource: the server responded with a status of 401 (Unauthorized)</font></div><div>But the overlay appears.</div><div>Do you have any clue why this happens?<br></div><div><br></div><div>However this behaviour can be fixed by manually updating the permissions via the the UI. Is there a command to update (or better restore) all map permissions at once?</div><div><br></div><div>Thanks!</div><div><br></div><div>Ciao</div><div><br></div><div>P.</div><div><br></div><div><br></div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Oct 24, 2019 at 4:39 PM Paolo Corti <<a href="mailto:pcorti@gmail.com" target="_blank">pcorti@gmail.com</a>> wrote:<br></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">Hi Paolo<br>
never seen this error. As a first check, did you try to test if maps<br>
open using GeoExplorer?<br>
cheers<br>
Paolo<br>
<br>
On Wed, Oct 23, 2019 at 3:34 AM Paolo Pasquali <<a href="mailto:paolo.pasquali@gmail.com" target="_blank">paolo.pasquali@gmail.com</a>> wrote:<br>
><br>
> Dear devs,<br>
><br>
> I have an issue with map permissions after migrating.<br>
><br>
> I have migrated my GeoNode 2.10.x (unstable with GeoExplorer) to another server upgrading to the latest stable version (with MapStore2).<br>
> I have copied the workspaces, styles, uploaded and permissions folders from the old GeoServer data folder to the new one (after restoring the db). Then I've run some scripts such as updatemaplayerip, fix_baselayers, set_layer_permissions and sync_security_rules.<br>
><br>
> All seems ok except for maps. I'm getting an error when I try to view a map:<br>
> Failed to load resource: the server responded with a status of 401 (Unauthorized)<br>
> at mydomain/security/permission/xx<br>
> You are not allowed to change permissions for this resource<br>
><br>
> Am I missing something?<br>
> Thanks in advance for your help!<br>
><br>
> Best,<br>
><br>
> Paolo<br>
><br>
> _______________________________________________<br>
> geonode-devel mailing list<br>
> <a href="mailto:geonode-devel@lists.osgeo.org" target="_blank">geonode-devel@lists.osgeo.org</a><br>
> <a href="https://lists.osgeo.org/mailman/listinfo/geonode-devel" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/geonode-devel</a><br>
<br>
<br>
<br>
-- <br>
Paolo Corti<br>
Geospatial software developer<br>
web: <a href="http://www.paolocorti.net" rel="noreferrer" target="_blank">http://www.paolocorti.net</a><br>
twitter: @capooti<br>
skype: capooti<br>
#drt3jc1<br>
</blockquote></div>