Public Access Configuration
---------------------------

1) Introduction

You can configure OpenDb to be publicly accessible, but also allow users to login so they can
perform updates, reserves, etc.

2) Setup

2.1) Configure a guest account

The guest account will configure the default access for all public users.  This guest account user_id 
nust be identified by the configuration variable $CONFIG_VARS['site.public_access.user_id']. The guest
account should be configured as a 'guest' user type, otherwise anyone can reserve items (if you use a 
borrow user), or add/edit/delete (a normal user), or really screw up the database (if an administrator)

2.2) Enable public access

The configuration variable $CONFIG_VARS['site.public_access.enable'] must be set to TRUE;

2.3) Enable / Disable login

The configuration variable $CONFIG_VARS['site.public_access.allow_login'] is used to configure
whether users can login to the site, even while public access is enabled.  If this variable is TRUE
a 'Login' link will appear in the menu and when activated a login screen will be presented to allow the
user to login.
