From cc6219213508a777fc6e44385f308c678cc78a39 Mon Sep 17 00:00:00 2001 From: Eugeniy Mikhailov Date: Sat, 21 Jan 2012 17:30:09 -0500 Subject: resetforgottenpassword permitted to everyone --- GradeBook_lib.tcl | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/GradeBook_lib.tcl b/GradeBook_lib.tcl index 51e682b..c7ba1be 100755 --- a/GradeBook_lib.tcl +++ b/GradeBook_lib.tcl @@ -1107,7 +1107,12 @@ proc isActionGranted { action permission_list user } { array set permission $permission_list if { $action == "defaultview" } { # this one permitted to everyone - dbg "requested action $action for user $user is granted" 4 + dbg "requested action $action for user $user is granted" msg_level_info + return 1; + } + if { $action == "resetforgottenpassword" } { + # this one permitted to everyone + dbg "requested action $action for user $user is granted" msg_level_info return 1; } if { ![info exist permission($action) ] } { -- cgit v1.2.3