wp_check_style_authorization

one of the documented procedures in this installation of the ACS
Usage:
wp_check_style_authorization   db   style_id   user_id
What it does:
Verifies that the user owns this style.
Defined in: /web/philip/tcl/wp-defs.tcl

Source code:


    if { [database_to_tcl_string $db "select owner from wp_styles where style_id = [wp_check_numeric $style_id]"] != $user_id } {
	ad_return_error "Authorization Failed" "You do not have the proper authorization to access this feature."
	ad_script_abort
    }


philg@mit.edu