Gossamer Forum
Home : Products : DBMan : Discussions :

Default vs. Admin Views

Quote Reply
Default vs. Admin Views
My database includes addresses, phone numbers etc. My goal is the following:

1. Default users (non-registered) can List only Names/Email/Picture. Modify nothing.
2. Registered users can List only Names/Email/Picture. Modify their own record.
3. Admin (me) can view all info with List and modify any record.

Would I create a new sub, copying "sub html_record" and renaming it or some of it's fields?
Or is there something I can throw into that sub to create an "if admin" for certain fields?
Or is there a mod that I haven't seen that can help.
Mods are tough to install!


Quote Reply
Re: Default vs. Admin Views In reply to
You might want to take a look at the DBMAN Tutorials, located at:http://anthrotech.com/