How can I set this up so that certain people can add to the database and they can only delete there own stuff and modify there own stuff?? And anyone can view it all ??? ICQ me @ 10217446 if you can help me
May 1, 1999, 11:38 AM
Veteran / Moderator (8669 posts)
May 1, 1999, 11:38 AM
Post #2 of 7
Views: 537
In your .cfg file, first, make sure you have a field for the userid. Make a note of the number of the field.
Then, under "Authorization Options" set
$auth_no_authentication = 0;
$auth_allow_default = 1;
@auth_default_permissions = (1,0,0,0,0);
$auth_modify_own = 1;
$auth_view_own = 0;
$auth_user_field = the number I told you to make note above for the userid field;
If you want people to be able to signup online for an account, set
$auth_signup = 0;
@auth_signup_permissions = (1,1,1,1,0);
If you don't want people to be able to signup online, you will have to add users via the Admin link. Give each user you add the permission to add, view, modify and delete.
------------------
JPD
Then, under "Authorization Options" set
$auth_no_authentication = 0;
$auth_allow_default = 1;
@auth_default_permissions = (1,0,0,0,0);
$auth_modify_own = 1;
$auth_view_own = 0;
$auth_user_field = the number I told you to make note above for the userid field;
If you want people to be able to signup online for an account, set
$auth_signup = 0;
@auth_signup_permissions = (1,1,1,1,0);
If you don't want people to be able to signup online, you will have to add users via the Admin link. Give each user you add the permission to add, view, modify and delete.
------------------
JPD
Oh ok so I will have to put it on the actual form to add things right?
--------------------------------------------
I am going to manually add them but how do I give them the "Give each user you add the permission to add, view, modify and delete." Also I dont see the option under admin to modify??
--------------------------------------------
[This message has been edited by elite (edited May 01, 1999).]
--------------------------------------------
I am going to manually add them but how do I give them the "Give each user you add the permission to add, view, modify and delete." Also I dont see the option under admin to modify??
--------------------------------------------
[This message has been edited by elite (edited May 01, 1999).]

