Gossamer Forum
Home : Products : DBMan : Installation :

Accessing admin when not using log-on?

Quote Reply
Accessing admin when not using log-on?
If you don't require users to log on (i.e. anyone can view anything without logging on), how can you access the admin functions? I have a user that has admin privs, but I can't get to the functions!

Thanks in advance,

Giorgos
Quote Reply
Re: Accessing admin when not using log-on? In reply to
Depends on what you want users to be able to do and what you want the admin to be able to do. The main admin function is to add, delete or modify user accounts, but if you don't have user accounts, you don't need an admin.

I would be surprised if you would want your users to be able to modify or delete any records they wanted to on your site, so this is what I would suggest.

In your default.cfg file, set

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

--if you want users to be able to add records, set it to
@auth_default_permissions = (1,1,0,0,0); --

$auth_signup = 0;
$auth_modify_own = 0;
$auth_view_own = 0;
$auth_user_field = -1;

With this setup a default user can view (and add, if you use the second set of permissions), but only the admin can modify or delete records.



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