Index: openacs-4/packages/general-comments/www/comment-add-3.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/general-comments/www/comment-add-3.tcl,v diff -u -r1.7 -r1.7.2.1 --- openacs-4/packages/general-comments/www/comment-add-3.tcl 1 Mar 2005 00:01:37 -0000 1.7 +++ openacs-4/packages/general-comments/www/comment-add-3.tcl 7 Jan 2006 07:31:03 -0000 1.7.2.1 @@ -19,9 +19,15 @@ { attach_p "f" } } +# This authentication actually is not necessary anymore due to the fact that we already check for the permission +# afterwards, so it should be enough to query the user_id from the connection to allow anonymous users who have +# create permissions to access the site. + # authenticate the user -set user_id [auth::require_login] +# set user_id [auth::require_login] +set user_id [ad_conn user_id] + # check to see if the user can create comments on this object ad_require_permission $object_id general_comments_create