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):
- 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