Gossamer Forum
Home : Products : DBMan SQL : Discussion :

Add & modify restricted to User

Quote Reply
Add & modify restricted to User
Hi,
I'd appreciate some advice on the approach to adopt for this objective: I have several databases/tables. All of them require users to log in and they get only view status. All except one where no authentication is required but they still can only view.

All the tables refer to the same Username file and access log file. When I log on as admin, I can do anything on all tables except the one with no_authentication which does not recognise me as admin to allow me to add/modify etc. I have tried various conditionals in the footer.html file such as:

<%if Username eq 'xxxx'%>
<a href="db.cgi?do=add_form&db=<%db%>">Add</a> |
<%endif%>

but this doesn't work. Any suggestions?