notification::security::can_notify_user (public)

 notification::security::can_notify_user -user_id user_id \
    [ -delivery_method_id delivery_method_id ]

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

Can a user be notified for a given delivery method. This proc can be expanded to deal with cases when we don't want to send a notification. For instance we could check email_bouncing_p or if a user is on vacation. Right now it just makes sure its an approved user.

Switches:
-user_id (required)
-delivery_method_id (optional)
Returns:
boolean value

Partial Call Graph (max 5 caller/called nodes):
%3 notification::delivery::send notification::delivery::send (public) notification::security::can_notify_user notification::security::can_notify_user notification::delivery::send->notification::security::can_notify_user acs_user::get_user_info acs_user::get_user_info (public) notification::security::can_notify_user->acs_user::get_user_info

Testcases:
No testcase defined.
[ show source ]
Show another procedure: