Jump to content

newbiegeek

Members
  • Posts

    3
  • Joined

  • Last visited

Everything posted by newbiegeek

  1. Below is the current settings I have in the systemdefaults.inc.php Ideally I just want one administrator and one regular user. What way do i go about that? // The list of administrators (can modify other peoples settings). // // This list is not needed when using the 'db' authentication scheme EXCEPT // when upgrading from a pre-MRBS 1.4.2 system that used db authentication. // Pre-1.4.2 the 'db' authentication scheme did need this list. When running // edit_users.php for the first time in a 1.4.2 system or later, with an existing // users list in the database, the system will automatically add a field to // the table for access rights and give admin rights to those users in the database // for whom admin rights are defined here. After that this list is ignored. unset($auth["admin"]); // Include this when copying to config.inc.php $auth["admin"][] = "127.0.0.1"; // localhost IP address. Useful with IP sessions. $auth["admin"][] = "administrator"; // A user name from the user list. Useful // with most other session schemes. //$auth["admin"][] = "10.0.0.1"; //$auth["admin"][] = "10.0.0.2"; //$auth["admin"][] = "10.0.0.3"; // 'auth_config' user database // Format: $auth["user"]["name"] = "password"; $auth["user"]["administrator"] = "secret"; $auth["user"]["alice"] = "a"; $auth["user"]["bob"] = "b"; // 'session_http' configuration settings $auth["realm"] = "mrbs"; // 'session_remote_user' configuration settings //$auth['remote_user']['login_link'] = '/login/link.html'; //$auth['remote_user']['logout_link'] = '/logout/link.html'; // 'auth_ext' configuration settings $auth["prog"] = ""; $auth["params"] = "";
  2. Hi I added the line $auth["user"]["test"] = "password"; and I am able to login with test and password however it is giving the same permissions as admin. How do i go about adding a regular user that is just able to book? Do i need to change anything in systemdefaults? Thanks
  3. Hi I'm a bit stuck with MRBS. I have it installed locally on my machine using the latest version of XAMPP. Basically I am able to login and book using the default created administration details and the sample admin users alice and bob. However i am stuck on how to create a general user that just has the ability to book and edit their own bookings. The authentication method I am using is just through config.inc.php - i'm sure there is a part of that script that i need to edit to add users but I can't figure out where. Any help would be much appreciated.
×
×
  • Create New...