forum::security::require_post_forum (public)

 forum::security::require_post_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 permissions to post 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_post_forum forum::security::require_post_forum test_web_forums_message_and_reply->forum::security::require_post_forum forum::security::can_post_forum_p forum::security::can_post_forum_p (public) forum::security::require_post_forum->forum::security::can_post_forum_p forum::security::do_abort forum::security::do_abort (private) forum::security::require_post_forum->forum::security::do_abort forum::security::require_post_message forum::security::require_post_message (public, deprecated) forum::security::require_post_message->forum::security::require_post_forum packages/forums/www/message-post.tcl packages/forums/ www/message-post.tcl packages/forums/www/message-post.tcl->forum::security::require_post_forum

Testcases:
web_forums_message_and_reply
[ show source ]
Show another procedure: