Gossamer Forum
Home : Products : DBMan : Customization :

hide result fields

Quote Reply
hide result fields
ok, here my question..

i configure dbman that a new user can signup to get an account and del/mod his own record.
Now the problem every other user can see his userid by searching the database, why ?

can i hide this field, how ?
Quote Reply
Re: hide result fields In reply to
In your .cfg file, make sure $auth_view_own is set to 1

Code:
# Registered users: can view _only_ own records. For this to make sense
# you should turn off default permissions.
$auth_view_own = 1;
Quote Reply
Re: hide result fields In reply to
Desp, it depends on how you want your database to be set up. Do you want people to be able to see the records of other people? If not, Moonwolf's solution will work. If so, you'll need to do some other things.

One more question before I answer. Are you using the autogenerate feature or have you made your own html_record_form subroutine?

------------------
JPD





Quote Reply
Re: hide result fields In reply to
*argl*

the problem was in front of my nose, ok it runs. thanks a lot again

desp
Quote Reply
Re: hide result fields In reply to
sorry for my english, ok trying to exlpain my problem exactly. i want to create a database with the following permissions.
every user can see all other entries without logon. (default user).to add/del/mod his own record he has to sign up.
the problem is that allway the username "wich was entered in signup form" will be saved in his record as his ID.

but i donīt want that other users can see his ID (login name)

if you want to take a look

see it on
www.clan-cih.de/default.cfg.txt
www.clan-cih.de/html.pl
www.clan-cih.de/db.cgi

thanks so far Desp

PS auto generate html is disabled