http_auth::authorize (public)

 http_auth::authorize conn args why

Defined in packages/acs-tcl/tcl/http-auth-procs.tcl

Check HTTP authentication for an OpenACS user account and call the registered procedure to handle the URL to check permissions

Parameters:
conn (required)
args (required)
why (required)

Testcases:
No testcase defined.
Source code:
    set user_id [http_auth::set_user_id]
    set proc [lindex $args 0]
    if {$proc eq {}} {
        set proc http_auth::site_node_authorize
    }
    return [$proc -user_id $user_id -url [ns_conn url]]
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: