[GeoNode-devel] 2.8.0 - ACCOUNT_APPROVAL_REQUIRED setting appears not to have effect

Dave Kennewell davekennewell at gmail.com
Wed May 30 09:03:16 PDT 2018


Hi Alessio,

Yes, the email backend is already configured, and it works on my site for
both pinax notifications and the standard account emails.

I was expecting to see an email template for the email from geonode to the
admin, stored in this folder:
https://github.com/GeoNode/geonode/tree/2.8.0/geonode/templates/account/email

But there is no template? and the  moderator_contacted
<https://github.com/GeoNode/geonode/blob/d41328bfddbe3d5820338f455c5767b2067d759d/geonode/views.py#L151>
function
seems to just get the user model to display the email address in the
template rather than actually sending anything.

I don't think this is meant to be covered by pinax, but I had a look there
and couldn't find anything either.

Is it possible this feature has not yet been implemented?



On 30 May 2018 at 19:12, Alessio Fabiani <alessio.fabiani at geo-solutions.it>
wrote:

> Hi,
> in order to receive emails you need to configure the email backend too,
> which is disabled by default
>
>
>
>
> 2018-05-30 16:53 GMT+02:00 Dave Kennewell <davekennewell at gmail.com>:
>
>> Hi all,
>>
>> I'm using 2.8.0.
>>
>> The ACCOUNT_APPROVAL_REQUIRED setting appears to work in that it stops a
>> new user's account being immediately active, but geonode does not appear to
>> be emailing the admins to let them know, resulting in some pretty lonely
>> users not being onboarded.
>>
>> Looking through the code, I was expecting a notification to be sent to
>> the admins from here:
>> https://github.com/GeoNode/geonode/blob/d41328bfddbe3d582033
>> 8f455c5767b2067d759d/geonode/views.py#L151
>>
>> Am I missing something here, or does this need a fix?
>>
>> Thanks
>> Dave
>>
>>
>> _______________________________________________
>> geonode-devel mailing list
>> geonode-devel at lists.osgeo.org
>> https://lists.osgeo.org/mailman/listinfo/geonode-devel
>>
>>
>
>
> --
>
> ==
>
> 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
> fax:     +39 0584 1660272
> mob:   +39 331 6233686
>
>
> http://www.geo-solutions.it
> http://twitter.com/geosolutions_it
> -------------------------------------------------------
>
> Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE
> 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si
> precisa che ogni circostanza inerente alla presente email (il suo
> contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è
> riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il
> messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra
> operazione è illecita. Le sarei comunque grato se potesse darmene notizia.
>
>
> This email is intended only for the person or entity to which it is
> addressed and may contain information that is privileged, confidential or
> otherwise protected from disclosure. We remind that - as provided by
> European Regulation 2016/679 “GDPR” - copying, dissemination or use of this
> e-mail or the information herein by anyone other than the intended
> recipient is prohibited. If you have received this email by mistake, please
> notify us immediately by telephone or e-mail.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-devel/attachments/20180530/c45c03c4/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 32773 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/geonode-devel/attachments/20180530/c45c03c4/attachment-0001.png>


More information about the geonode-devel mailing list