diff options
author | Eugeniy Mikhailov <evgmik@gmail.com> | 2012-01-21 17:30:09 -0500 |
---|---|---|
committer | Eugeniy Mikhailov <evgmik@gmail.com> | 2012-01-21 17:30:09 -0500 |
commit | cc6219213508a777fc6e44385f308c678cc78a39 (patch) | |
tree | a6af542e49ea8e5c76b26519f380da8e8f61c3b4 | |
parent | 5786870ecc358e76dd33d71db267502ce9314ebb (diff) | |
download | GradeBook-cc6219213508a777fc6e44385f308c678cc78a39.tar.gz GradeBook-cc6219213508a777fc6e44385f308c678cc78a39.zip |
resetforgottenpassword permitted to everyone
-rwxr-xr-x | GradeBook_lib.tcl | 7 |
1 files changed, 6 insertions, 1 deletions
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) ] } { |