[GeoNode-users] change layer ownership

Federico Gianoli alpacagis at gmail.com
Thu Oct 19 07:20:23 PDT 2017


Thanks Paolo,

I understand that to upgrade my geonode to 2.7 should be the best solution,
but, at the moment, I can't do it
So I should manage the base_resourcebase table, where is it located? And
where should I look for the commented code?

Thanks

Federico








2017-10-19 10:59 GMT+02:00 Paolo Pasquali <paolo.pasquali at ithaca.polito.it>:

> Hi Federico,
>
> Upgrading your GeoNode is the best solution.
>
> Having said that, if it is not feasible in your case you might update the
> base_resourcebase table setting the owner_id = your new owner
> people_profile.id
>
> Browse the people_profile table and you will get all your users' id.
>
> In principles it is not recommended, but it should not give you problems.
>
> Alessio, can you confirm? Just to be sure.
>
> Best,
>
> Paolo
>
>
>
> On Thu, Oct 19, 2017 at 10:29 AM, Alessio Fabiani <alessio.fabiani at geo-
> solutions.it> wrote:
>
>> This is an old issue on GeoNode 2.6.x as far as I know.
>>
>> It has been fixed on 2.7+
>>
>> 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
>> <https://maps.google.com/?q=Via+di+Montramito+3/A+55054+%C2%A0Massarosa&entry=gmail&source=g>
>> 55054  Massarosa
>> <https://maps.google.com/?q=Via+di+Montramito+3/A+55054+%C2%A0Massarosa&entry=gmail&source=g>
>> (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 Wed, Oct 18, 2017 at 9:35 PM, Federico Gianoli <alpacagis at gmail.com>
>> wrote:
>>
>>> Dear all,
>>>
>>> I am not able to change the ownership of the layer that I have uploaded
>>> to my geonode.
>>> If I go to "Edit metadata" I am not able to assign the ownership to a
>>> different user. Automatically this field is re-filled with the previous
>>> name.
>>>
>>> The ownership is assigned directly to whom upload the layer, but not
>>> necessarily the owner of the data is who upload it.
>>>
>>> Someone have a solution for this?
>>>
>>> Thanks a lot
>>>
>>> Federico
>>>
>>>
>>> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> Mail
>>> priva di virus. www.avast.com
>>> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
>>> <#m_8414293427515296776_m_5286194606924545012_m_-1763564593833830517_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>>>
>>> _______________________________________________
>>> geonode-users mailing list
>>> geonode-users at lists.osgeo.org
>>> https://lists.osgeo.org/mailman/listinfo/geonode-users
>>>
>>>
>>
>> _______________________________________________
>> 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/20171019/e926b6c9/attachment.html>


More information about the geonode-users mailing list