bug_tracker::security_violation (public)

 bug_tracker::security_violation -user_id user_id -bug_id bug_id \
    -action_id action_id

Defined in packages/bug-tracker/tcl/bug-tracker-procs.tcl

Switches:
-user_id (required)
-bug_id (required)
-action_id (required)

Partial Call Graph (max 5 caller/called nodes):
%3 packages/bug-tracker/www/bug.tcl packages/bug-tracker/ www/bug.tcl bug_tracker::security_violation bug_tracker::security_violation packages/bug-tracker/www/bug.tcl->bug_tracker::security_violation _ _ (public) bug_tracker::security_violation->_ ad_return_forbidden ad_return_forbidden (public) bug_tracker::security_violation->ad_return_forbidden ad_script_abort ad_script_abort (public) bug_tracker::security_violation->ad_script_abort bug_tracker::bug::get bug_tracker::bug::get (public) bug_tracker::security_violation->bug_tracker::bug::get workflow::action::get workflow::action::get (public) bug_tracker::security_violation->workflow::action::get

Testcases:
No testcase defined.
Source code:
    workflow::action::get -action_id $enabled_action(action_id) -array action
    bug_tracker::bug::get -bug_id $bug_id -array bug

    ns_log notice "bug_tracker::security_violation: $user_id doesn't have permission to '$action(pretty_name)' on bug $bug(summary)"
    ad_return_forbidden  [_ bug-tracker.Permission_Denied]  "<blockquote>[_ bug-tracker.No_Permission_to_do_action]</blockquote>"
    ad_script_abort
Generic XQL file:
packages/bug-tracker/tcl/bug-tracker-procs.xql

PostgreSQL XQL file:
packages/bug-tracker/tcl/bug-tracker-procs-postgresql.xql

Oracle XQL file:
packages/bug-tracker/tcl/bug-tracker-procs-oracle.xql

[ hide source ] | [ make this the default ]
Show another procedure: