This is done in kpax to prevent two users from editing the same wiki
page at the same time. It involves ajax keepalive. For efficiency the
locking time is stored in the same table being locked. I am not sure
this belongs to auth but we could have a plugin.

Massimo

On Mar 25, 2:16 pm, szimszon <[email protected]> wrote:
> Hello!
>
> I would like to have a built in support for database locking.
>
> I think about something like auth_permission...
> I can make an entry in it with user_id, name
> (create,read,update,delete,select), table_name, record,
> expiration_time, type(soft,hard)...
>
> soft type - other user could override it with an additional popup or
> whatever (like deleting question)...
>
> And crud could use it out of the box :-D

-- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.

Reply via email to