Gossamer Forum
Home : Products : DBMan : Discussions :

Re: [ezfindit] Modify/Delete Own Records

Quote Reply
Re: [ezfindit] Modify/Delete Own Records In reply to
I don't quite get what you are trying to do. I assume you want to have "modify" and "delete" to work only for users' *own* records, right? So you would have $auth_modify_own set to "1" in your cfg-file.

However, the link in the footer - for "modify" and "delete" - is one to a "list all" function, with "ID=*". Maybe that's why it goes wrong, because when "ID=*" there will inevitably be search results which don't belong to the user in question.

Have you tried "$db_cols[$auth_user_field]=$db_userid" instead of "ID=*" in the query-string? (It should resolve to "lastname=test", if "lastname" is your username field and "test" is the user-id.)

Not sure that's *the* problem, but it seems to be *a* problem :-)
kellner
Subject Author Views Date
Thread Modify/Delete Own Records ezfindit 3972 Nov 17, 2001, 3:41 PM
Thread Re: [ezfindit] Modify/Delete Own Records
LoisC 3897 Nov 17, 2001, 8:58 PM
Thread Re: [LoisC] Modify/Delete Own Records
ezfindit 3797 Nov 20, 2001, 11:25 AM
Thread Re: [ezfindit] Modify/Delete Own Records
LoisC 3789 Nov 20, 2001, 11:49 AM
Thread Re: [LoisC] Modify/Delete Own Records
ezfindit 3798 Nov 20, 2001, 12:08 PM
Thread Re: [ezfindit] Modify/Delete Own Records
Paul 3793 Nov 20, 2001, 2:08 PM
Thread Re: [PaulW] Modify/Delete Own Records
ezfindit 3790 Nov 20, 2001, 3:10 PM
Post Re: [ezfindit] Modify/Delete Own Records
kellner 3726 Nov 25, 2001, 4:21 PM