Index: openacs-4/packages/bug-tracker/tcl/bug-tracker-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/bug-tracker/tcl/bug-tracker-procs.tcl,v diff -u -r1.19 -r1.20 --- openacs-4/packages/bug-tracker/tcl/bug-tracker-procs.tcl 28 Aug 2003 09:45:29 -0000 1.19 +++ openacs-4/packages/bug-tracker/tcl/bug-tracker-procs.tcl 25 Sep 2003 12:13:37 -0000 1.20 @@ -1504,7 +1504,7 @@ } { ns_log Notice "$user_id doesn't have permission to '$action' on bug $bug_id" ad_return_forbidden \ - "Security Violation" \ + "Permission Denied" \ "
You don't have permission to '$action' on this bug.
Index: openacs-4/packages/bug-tracker/www/map-patch-to-bugs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/bug-tracker/www/map-patch-to-bugs.tcl,v diff -u -r1.4 -r1.5 --- openacs-4/packages/bug-tracker/www/map-patch-to-bugs.tcl 28 Aug 2003 09:45:29 -0000 1.4 +++ openacs-4/packages/bug-tracker/www/map-patch-to-bugs.tcl 25 Sep 2003 12:13:37 -0000 1.5 @@ -32,7 +32,7 @@ set user_is_submitter_p [expr $user_id == [bug_tracker::get_patch_submitter -patch_number $patch_number]] if { ![expr $user_is_submitter_p || $write_p] } { - ad_return_forbidden "Security Violation" "You do not have permission to map this patch to a bug. Only the submitter of the patch and users with write permission on this Bug Tracker project (package instance) may do so." + ad_return_forbidden "Permission Denied" "You do not have permission to map this patch to a bug. Only the submitter of the patch and users with write permission on this Bug Tracker project (package instance) may do so." ad_script_abort } Index: openacs-4/packages/bug-tracker/www/patch.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/bug-tracker/www/patch.tcl,v diff -u -r1.3 -r1.4 --- openacs-4/packages/bug-tracker/www/patch.tcl 28 Aug 2003 09:45:29 -0000 1.3 +++ openacs-4/packages/bug-tracker/www/patch.tcl 25 Sep 2003 12:13:37 -0000 1.4 @@ -78,7 +78,7 @@ switch -- $mode { edit { if { ![expr $write_p || $user_is_submitter_p] } { - ad_return_forbidden "Serurity Violation" "You do not have permission to edit this patch. Only the submitter of the patch and users with write permission on the Bug Tracker project (package instance) may do so." + ad_return_forbidden "Permission Denied" "You do not have permission to edit this patch. Only the submitter of the patch and users with write permission on the Bug Tracker project (package instance) may do so." ad_script_abort } @@ -98,10 +98,10 @@ reopen { # User must have write permission to reopen a refused patch if { [string equal $patch_status "refused"] && !$write_p } { - ad_return_forbidden "Serurity Violation" "You do not have permission to reopen this refused patch, only users with write permission on the Bug Tracker package instance (project) may do so." + ad_return_forbidden "Permission Denied" "You do not have permission to reopen this refused patch, only users with write permission on the Bug Tracker package instance (project) may do so." ad_script_abort } elseif { [string equal $patch_status "deleted"] && !($user_is_submitter_p || $write_p)} { - ad_return_forbidden "Serurity Violation" "You do not have permission to reopen this deleted patch, only users with write permission on the Bug Tracker package instance (project) and the submitter of the patch may do so." + ad_return_forbidden "Permission Denied" "You do not have permission to reopen this deleted patch, only users with write permission on the Bug Tracker package instance (project) and the submitter of the patch may do so." ad_script_abort } @@ -110,7 +110,7 @@ delete { # Only the submitter can delete a patch (admins can refuse it) if { !$user_is_submitter_p } { - ad_return_forbidden "Serurity Violation" "You do not have permission to cancel this patch - only the submitter of the patch may do so. If you are an administrator you can however refuse the patch." + ad_return_forbidden "Permission Denied" "You do not have permission to cancel this patch - only the submitter of the patch may do so. If you are an administrator you can however refuse the patch." ad_script_abort } set edit_fields {} @@ -383,7 +383,7 @@ # Check that the user is permitted to change the patch if { ![string equal $mode "view"] && !$write_p && !$user_is_submitter_p } { ns_log notice "$patch(submitter_user_id) doesn't have write on object $patch(patch_id)" - ad_return_forbidden "Security Violation" "
+ ad_return_forbidden "Permission Denied" "
You don't have permission to edit this patch.
This incident has been logged. Index: openacs-4/packages/bug-tracker/www/unmap-patch-from-bug.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/bug-tracker/www/unmap-patch-from-bug.tcl,v diff -u -r1.1 -r1.2 --- openacs-4/packages/bug-tracker/www/unmap-patch-from-bug.tcl 11 Sep 2002 14:03:25 -0000 1.1 +++ openacs-4/packages/bug-tracker/www/unmap-patch-from-bug.tcl 25 Sep 2003 12:13:37 -0000 1.2 @@ -16,7 +16,7 @@ set user_is_submitter_p [expr $user_id == [bug_tracker::get_patch_submitter -patch_number $patch_number]] if { ![expr $user_is_submitter_p || $write_p] } { - ad_return_forbidden "Security Violation" "You do not have permission to unmap a bug from this patch. Only the submitter of the patch and users with write permission on the Bug Tracker package instance (project) may do so." + ad_return_forbidden "Permission Denied" "You do not have permission to unmap a bug from this patch. Only the submitter of the patch and users with write permission on the Bug Tracker package instance (project) may do so." ad_script_abort }