Gossamer Forum
Home : Products : DBMan : Customization :

You are not authorized to do this...

Quote Reply
You are not authorized to do this...
When I hit either the "Add","Modify" or "Delete" buttons on my database, I get "Error on Page" - "The database program received a command that you are not authorized for."

However, I am logged in as Admin/Admin.

I am using the following code:
Code:
/db.pl?db=user&uid=$db_uid&modify_form_record=1&modify=$rec{$db_key}

Is there something wrong the the code that I am using?



[This message has been edited by maps (edited March 03, 2000).]
Quote Reply
Re: You are not authorized to do this... In reply to
I guess that I should mention what I have in my cfg file:

Code:

# Authorization Options
# --------------------------------------------------------
# No Authentication? (1 = "there is no authentication", 0 = "there is authentication")
# If you choose no authentication, then set the permissions of what
# people can do with: @auth_default_permissions below.
$auth_no_authentication = 0;

# The amount of time in seconds that user files are kept in the
# auth directory before the program removes them. 2-6 hours is
# probably a good value.
$auth_time = 21600; # 6 hours (in seconds)

# Enable (1) or disable (0) logging.
$auth_logging = 0;

# Allow a default user? This means you can specify a user via the URL
# and skip the logon process. Use this to allow people to search without
# logging on, but require log in if they want to add/modify/remove etc.
# (1 = "yes", 0 = "no")
$auth_allow_default = 1;

# Default permissions used if there is no authentication, or for a default
# user. (View, Add, Delete, Modify, Admin), 1 = enable, 0 = disable.
@auth_default_permissions = (1,0,0,0,0);

# Allow people to sign up for their own userid/passwords? They will
# recieve the default permissions below.
$auth_signup = 1;

# Permissions a new signup should get.
@auth_signup_permissions = (1,1,1,1,0);

# Registered users: can modify/delete _only_ own records. For this to make
# sense you should set default off or to 1,0,0,0.
$auth_modify_own = 1;

# Registered users: can view _only_ own records. For this to make sense
# you should turn off default permissions.
$auth_view_own = 0;




[This message has been edited by maps (edited March 03, 2000).]