kartoza / flask_user_map

A simple flask for creating user community maps
GNU General Public License v2.0
5 stars 10 forks source link

We need to allow users to manage their entry details #12

Closed timlinux closed 10 years ago

timlinux commented 10 years ago

Problem

Currently there is no way to:

For editing or deleting their entry, the user should be sent an email with the following wording after initially creating their point:

Dear {{ user.name }}

Thank you for adding yourself to the user map at {{ url }}. If this record was not added by 
yourself, read on below for more information on how to remove it again.

Please note that the following information in your user record will be freely downloadable 
by anyone visiting the user map page:

* Your name
* your longitude
* your latitude
* the date you added yourself 
* your role (user, developer, trainer)

If you are concerned about your privacy, we recommend you edit your record (you can 
do so using the link provided below) and generalise the position of your point (for example 
to the centre of your nearest town / state or province or country).

Deleting or editing your user record does not require a user name or password, only that 
you click on this unique (for your user record) link below:

http://{{ url }}/edit/{{ user.guid }}

If you have ever forget your special link above, you can request this message to be 
resent to you by using the 'I forgot my edit link' option on {{ url }}.

Thank you for taking the time to register yourself on our site!

As the email outline above implies we need a few more views:

akbargumbira commented 10 years ago

@timlinux, Can you give opinion which attributes can be edited?

akbargumbira commented 10 years ago

For now, I set email attribute as uneditable input. Otherwise, we have to send confirmation to new email. These 2 possibilities are ok for me.

akbargumbira commented 10 years ago

Since we don't check that email has been registered/not when add a user, then email is not unique. For reminder feature, I only fetch the first data returned from query. Should I send email to all data returned from query? or the email should be unique?

timlinux commented 10 years ago

Hi

We should definately make the email unique - good catch!

And to confirm, yes all fields should be editable except:

Regards

Tim

On Sat, Nov 9, 2013 at 6:51 AM, Akbar Gumbira notifications@github.comwrote:

Since we don't check that email has been registered/not when add a user, then email is not unique. For reminder feature, I only fetch the first data returned from query. Should I send email to all data returned from query? or the email should be unique?

— Reply to this email directly or view it on GitHubhttps://github.com/timlinux/user_map/issues/12#issuecomment-28118459 .

Tim Sutton - QGIS Project Steering Committee Member

Visit http://linfiniti.com to find out about:

akbargumbira commented 10 years ago

close?