Changeset: 60eca9fd7e31 https://sourceforge.net/p/mrbs/hg-code/ci/60eca9fd7e31267be6b9b0810b083529b68407ab Author: Campbell Morrison <cimorri...@hg.code.sf.net> Date: Thu Mar 16 10:49:36 2017 +0000 Log message:
Changed access level for check_slot_ajax to match edit_entry. diffstat: web/mrbs_auth.inc | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diffs (19 lines): diff -r 835ed3018d6f -r 60eca9fd7e31 web/mrbs_auth.inc --- a/web/mrbs_auth.inc Thu Mar 16 10:44:05 2017 +0000 +++ b/web/mrbs_auth.inc Thu Mar 16 10:49:36 2017 +0000 @@ -14,7 +14,6 @@ // These pages are open to the public by default as they only contain // read features. However if $auth['deny_public_access'] is TRUE then // access to the public is denied -$page_level['check_slot_ajax.php'] = ($auth['deny_public_access']) ? 1 : 0; $page_level['day.php'] = ($auth['deny_public_access']) ? 1 : 0; $page_level['help.php'] = ($auth['deny_public_access']) ? 1 : 0; $page_level['month.php'] = ($auth['deny_public_access']) ? 1 : 0; @@ -35,6 +34,7 @@ $page_level['del_entry.php'] = ($auth['only_admin_can_book']) ? 2 : 1; $page_level['edit_area_room.php'] = 1; // Ordinary users can view room details $page_level['edit_entry.php'] = ($auth['only_admin_can_book']) ? 2 : 1; +$page_level['check_slot_ajax.php'] = $page_level['edit_entry.php']; // only used by edit_entry.php $page_level['edit_entry_handler.php'] = ($auth['only_admin_can_book']) ? 2 : 1; $page_level['edit_users.php'] = 1; // Ordinary users can edit their own details $page_level['pending.php'] = 1; // Ordinary users can view their own entries ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Mrbs-commits mailing list Mrbs-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mrbs-commits