google-code-export / tradie-choice

Automatically exported from code.google.com/p/tradie-choice
1 stars 1 forks source link

deleting user from admin #281

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. log into admin /index/siteadmin
2. go to members and try and delete a user
3.

following error occurs

Original issue reported on code.google.com by cih...@gmail.com on 28 Dec 2013 at 7:26

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by bdsa...@gmail.com on 28 Dec 2013 at 2:03

GoogleCodeExporter commented 9 years ago
Hi Jon, you can not delete user, because there are dependency. Like, user 
"sadeq" created a project. another user work on that and get reviewed. If you 
then delete user "sadeq" then in that project you could not get all information 
of buyer (because you already deleted).

So my suggestion is do not delete any data, like project, user, list. just make 
ban/disable/de-active function.

I am waiting for your reply.

Original comment by bdsa...@gmail.com on 28 Dec 2013 at 2:30

GoogleCodeExporter commented 9 years ago
you make a good point, but what if that user had no data.
Just registered.

Perhaps make it like you say.
Give option to ban and delete
but on delete option, make check if user has dependent projects, money, ratings.

Original comment by cih...@gmail.com on 29 Dec 2013 at 3:28

GoogleCodeExporter commented 9 years ago
ok. got it :)

Original comment by bdsa...@gmail.com on 29 Dec 2013 at 6:44

GoogleCodeExporter commented 9 years ago

Original comment by bdsa...@gmail.com on 29 Dec 2013 at 12:10

GoogleCodeExporter commented 9 years ago
Its fixed with proper message information.

Original comment by bdsa...@gmail.com on 29 Dec 2013 at 12:59