notification::security::require_notify_object (public)

 notification::security::require_notify_object [ -user_id user_id ] \
    -object_id object_id

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

Require the ability to notify on an object. The function raised potentially a script_abort exception, when the user is not logged in.

Switches:
-user_id (optional)
-object_id (required)
Returns:
boolean value expressing if we can notify the user

Partial Call Graph (max 5 caller/called nodes):
%3 auth::require_login auth::require_login (public) notification::security::can_notify_object_p notification::security::can_notify_object_p (public) notification::security::require_notify_object notification::security::require_notify_object notification::security::require_notify_object->auth::require_login notification::security::require_notify_object->notification::security::can_notify_object_p

Testcases:
No testcase defined.
Source code:
        # require user to be logged in
        auth::require_login
        return [can_notify_object_p -user_id $user_id -object_id $object_id]
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: