forum::security::require_moderate_forum (public)

 forum::security::require_moderate_forum [ -user_id user_id ] \
    -forum_id forum_id

Defined in packages/forums/tcl/forums-security-procs.tcl

Abort if the user doesn't have 'forum_moderate' permissions in the forum.

Switches:
-user_id (optional)
-forum_id (required)

Partial Call Graph (max 5 caller/called nodes):
%3 test_web_forums_message_and_reply web_forums_message_and_reply (test forums) forum::security::require_moderate_forum forum::security::require_moderate_forum test_web_forums_message_and_reply->forum::security::require_moderate_forum forum::security::do_abort forum::security::do_abort (private) forum::security::require_moderate_forum->forum::security::do_abort permission::permission_p permission::permission_p (public) forum::security::require_moderate_forum->permission::permission_p forum::security::require_moderate_message forum::security::require_moderate_message (public, deprecated) forum::security::require_moderate_message->forum::security::require_moderate_forum packages/forums/www/moderate/forum.tcl packages/forums/ www/moderate/forum.tcl packages/forums/www/moderate/forum.tcl->forum::security::require_moderate_forum packages/forums/www/moderate/message-approve.tcl packages/forums/ www/moderate/message-approve.tcl packages/forums/www/moderate/message-approve.tcl->forum::security::require_moderate_forum packages/forums/www/moderate/message-delete.tcl packages/forums/ www/moderate/message-delete.tcl packages/forums/www/moderate/message-delete.tcl->forum::security::require_moderate_forum packages/forums/www/moderate/message-move.tcl packages/forums/ www/moderate/message-move.tcl packages/forums/www/moderate/message-move.tcl->forum::security::require_moderate_forum

Testcases:
web_forums_message_and_reply
[ show source ]
Show another procedure: