Gossamer Forum
Home : Products : DBMan : Installation :

Admin control

Quote Reply
Admin control
Hello everyone-

JPDeni gave me this tip:

If you want people to be able to view records without logging in set

$auth_allow_default = 1;
@auth_default_permissions = (1,0,0,0,0);
$auth_signup = 0;

the problem is the Admin does not have the options to add, modify, and delete records from the database. They have the seem options as a default user.

I was wondering if it is possible to have the user only view the records while the owner or admin of the site can modify the records.

Link to search:
http://www.joneshunter.com/script/db/db.cgi?db=default&uid=default&view_search=1

Works fine because they do not have to log in to view files.

Link to Main Menu:
http://www.joneshunter.com/script/db/db.cgi?db=default&uid=admin.91593514715498

Gives the same permissions as a default user and does not ask admin for a log in.

Thank you and I hope there is a way.

ps. Thanks JPDeni
Quote Reply
Re: Admin control In reply to
Do you have
$auth_no_authentication = 0;
in your .cfg file?

I think you said it was set that way in your previous question. But since you're not getting the login screen, it would appear that it is set to "1".

At one point, you must have logged on as admin or you wouldn't have the
uid=admin.91593514715498
part of the URL. What did you change after you logged in that time?

You're welcome. Smile I hope we can get your problem straightened out.


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