wp_access db presentation_id user_id { priv "read" }What it does:
Returns the user's actual level, if the user can perform $priv roles on the presention.Defined in: /web/philip/tcl/wp-defs.tcl
Source code:
return [database_to_tcl_string $db " select wp_access(presentation_id, $user_id, '$priv', public_p, creation_user, group_id) from wp_presentations where presentation_id = $presentation_id "]