notification::security::require_admin_request (public)
notification::security::require_admin_request [ -user_id user_id ] \ -request_id request_id
Defined in packages/notifications/tcl/notifications-security-procs.tcl
Require the ability to admin a request. The function raised potentially a script_abort exception, when the user is not logged in.
- Switches:
- -user_id (optional)
- -request_id (required)
- Returns:
- boolean value expressing if the user can issued an admin request
- See Also:
- 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_admin_request_p -user_id $user_id -request_id $request_id]XQL Not present: Generic, PostgreSQL, Oracle