bm_require_delete_permission (public)
bm_require_delete_permission bookmark_id
Defined in packages/bookmarks/tcl/bookmarks-procs.tcl
This proc verifyes that the user may delete the bookmark/folder and all its contained bookmarks/folders.
- Parameters:
- bookmark_id (required)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: if {[bm_delete_permission_p $bookmark_id] == "f"} { set n_errors 1 set error_list [list "You either do not have delete permissions on this bookmark/folder, or you are trying to delete a folder that contains at least one bookmarks or folder that you may not delete"] ad_return_template "complaint" return -code return }Generic XQL file: packages/bookmarks/tcl/bookmarks-procs.xql
PostgreSQL XQL file: packages/bookmarks/tcl/bookmarks-procs-postgresql.xql
Oracle XQL file: packages/bookmarks/tcl/bookmarks-procs-oracle.xql