diff --git a/docs/plugin_hooks.rst b/docs/plugin_hooks.rst index a0a746b0..c84a4097 100644 --- a/docs/plugin_hooks.rst +++ b/docs/plugin_hooks.rst @@ -961,7 +961,7 @@ forbidden(datasette, request, message) ``message`` - string A message hinting at why the request was forbidden. -Plugins can use this to customize how Datasette responds when a 403 Forbidden error occurs - usually because a page failed a permission check, see :authentication_permissions:. +Plugins can use this to customize how Datasette responds when a 403 Forbidden error occurs - usually because a page failed a permission check, see :ref:`authentication_permissions`. If a plugin hook wishes to react to the error, it should return a :ref:`Response object `.