bookmark-permissions.tcl
Credit for the ACS 3 version of this module goes to:
- Location:
- /packages/bookmarks/www/bookmark-permissions.tcl
- Authors:
- David Hill <dh@arsdigita.com>
- Aurelius Prochazka (aure@arsdigita.com) The upgrade of this module to ACS 4 was done by
- Peter Marklund <pmarklun@arsdigita.com>
- Ken Kennedy (kenzoid@io.com) in December 2000.
- Created:
- December 2000
- CVS ID:
$Id: bookmark-permissions.tcl,v 1.7 2014/08/07 07:36:54 gustafn Exp $
Related Files
[ hide source ] | [ make this the default ]
File Contents
ad_page_contract { Credit for the ACS 3 version of this module goes to: @author David Hill (dh@arsdigita.com) @author Aurelius Prochazka (aure@arsdigita.com) The upgrade of this module to ACS 4 was done by @author Peter Marklund (pmarklun@arsdigita.com) @author Ken Kennedy (kenzoid@io.com) in December 2000. @creation-date December 2000 @cvs-id $Id: bookmark-permissions.tcl,v 1.7 2014/08/07 07:36:54 gustafn Exp $ } { viewed_user_id:naturalnum,notnull } -properties { page_title:onevalue context:onevalue old_public_p:onevalue viewed_user_id:onevalue } set root_folder_id [bm_get_root_folder_id [ad_conn package_id] [ad_conn user_id]] set old_private_p [bm_bookmark_private_p $root_folder_id] permission::require_permission -object_id $root_folder_id -privilege admin set page_title "Manage Permissions on all Bookmarks" set context [bm_context_bar_args [list $page_title] $viewed_user_id] ad_return_template