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):
%3 bug_tracker::security_violation bug_tracker::security_violation (public) ad_return_forbidden ad_return_forbidden bug_tracker::security_violation->ad_return_forbidden ds_require_permission ds_require_permission (private) ds_require_permission->ad_return_forbidden etp::check_write_access etp::check_write_access (public) etp::check_write_access->ad_return_forbidden packages/acs-admin/lib/service-parameters.tcl packages/acs-admin/ lib/service-parameters.tcl packages/acs-admin/lib/service-parameters.tcl->ad_return_forbidden packages/acs-subsite/www/members/member-invite.tcl packages/acs-subsite/ www/members/member-invite.tcl packages/acs-subsite/www/members/member-invite.tcl->ad_return_forbidden _ _ (public) ad_return_forbidden->_ ad_return_exception_page ad_return_exception_page (public) ad_return_forbidden->ad_return_exception_page

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 $explanation
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: