Index: openacs-4/packages/bookmarks/tcl/bookmarks-procs-oracle.xql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/bookmarks/tcl/bookmarks-procs-oracle.xql,v diff -u -r1.1 -r1.2 --- openacs-4/packages/bookmarks/tcl/bookmarks-procs-oracle.xql 2 Jun 2001 07:33:06 -0000 1.1 +++ openacs-4/packages/bookmarks/tcl/bookmarks-procs-oracle.xql 7 Jun 2001 20:26:06 -0000 1.2 @@ -3,6 +3,18 @@ oracle8.1.6 + + + and bookmark_id not in + ( + select bookmark_id from bm_bookmarks where folder_p = 't' + and owner_id = :user_id + start with parent_id = :bookmark_id + connect by bookmark_id = parent_id + ) + + + @@ -14,7 +26,7 @@ and owner_id = :user_id and bookmark_id <> :bookmark_id and parent_id <> :package_id - and acs_permission.permission_p(bookmark_id, :user_id, 'write') = 't' + and acs_permission.permission_p(:bookmark_id, :user_id, 'write') = 't' $exclude_folders start with parent_id = :package_id connect by prior bookmark_id = parent_id