Monday 25 July 2005 3:57:04 am
Greetings :)
Here's the case: My site has two siteaccesses, one for regular users, and one for admins. I have personal information like name, adress etc in the user class. I want my regular users to be able to search in usernames, but <b>not</b> in realnames and adresses. But I still want the admins to be able to search realnames and adresses. I can't think of anything clever here. Disabling the attributes for searching will disable the admins from searching in it too, so that's out of the question. An approach could be to have separate search tables, but that doesn't sound like the easy way out.. ;) Any ideas, anyone? Eivind :)
|