Feb 8, 1999, 1:12 PM
Veteran / Moderator (8669 posts)
Feb 8, 1999, 1:12 PM
Post #2 of 2
Views: 1633
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