Index: openacs-4/packages/dotlrn/tcl/dotlrn-security-procs.xql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/dotlrn/tcl/dotlrn-security-procs.xql,v diff -u -r1.3 -r1.4 --- openacs-4/packages/dotlrn/tcl/dotlrn-security-procs.xql 13 Nov 2001 17:57:30 -0000 1.3 +++ openacs-4/packages/dotlrn/tcl/dotlrn-security-procs.xql 1 Dec 2001 23:16:27 -0000 1.4 @@ -2,21 +2,27 @@ - + -select role from dotlrn_users where user_id = :user_id +select type, type_id from dotlrn_user_types order by type - + -update dotlrn_users set page_id= :page_id where user_id= :user_id +select rel_id from dotlrn_users where user_id= :user_id - + -dotlrn_user.remove(:user_id) +select type from dotlrn_users, dotlrn_user_types where dotlrn_user_rels.type_id= dotlrn_user_types.type_id and user_id= :user_id +> + + + + +update dotlrn_full_user_rels set portal_id= :portal_id where rel_id = (select rel_id from dotlrn_full_users where user_id= :user_id)