Tnx Massimo for your reply.  I will make an action for that purpose.

I assumed that among Auth actions there would be something like
"unregister" which is a functionality
that any service with subscription should have. I understand that
allowing the user delete all his records is not
safe and could even be illegal, but I suspect that also it is illegal
to keep them without user consent.

Too much legalese I quit

mic

2011/2/16 Massimo Di Pierro <[email protected]>:
> It would be a security hazard to allow a user to delete himself and
> all records referencing to the user.
> Moreover it can be clicked accidentally.
>
> I think is is better if you create your own action for that. Anyway,
> instead of
>
> auth.profile()
>
> you can do
>
> crud.update(db.auth_user,auth.user.id)
>
>
> On Feb 16, 10:55 am, Michele Comitini <[email protected]>
> wrote:
>> Hi all!
>>
>> I do not see a way to show the delete checkbox on the Auth.profile()
>> SQLFORM without modifying tools.py.
>> Am I missing something?
>>
>> tnx
>>
>> mic

Reply via email to