ad_return_forbidden (public)
ad_return_forbidden [ title ] [ explanation ]
Defined in packages/acs-tcl/tcl/defs-procs.tcl
Returns a page with the HTTP 403 (Forbidden) code, along with the given title and explanation. Should be used by access-control filters that determine whether a user has permission to request a particular page. Title and explanation are optional. If 'title' is not specified, then a default localized system message will be displayed. If 'explanation' is not specified, it will default to the title.
- Parameters:
- title (optional)
- explanation (optional)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: if { $title eq "" } { set title [_ acs-subsite.403_message] } if { $explanation eq "" } { set explanation $title } ad_return_exception_page 403 $title $explanationXQL Not present: Generic, PostgreSQL, Oracle