message_access

Versions
4.6
message_access()

Return a string with an "access denied" message.

Always consider whether to use drupal_access_denied() instead to return a proper (and customizable) 403 error.

▾ 6 functions call message_access()

blogapi_blogger_edit_post in modules/blogapi.module
Blogging API callback. Modifies the specified blog node.
blogapi_blogger_new_post in modules/blogapi.module
Blogging API callback. Inserts a new blog post as a node.
blogapi_validate_user in modules/blogapi.module
Ensure that the given user has permission to edit a blog.
blogap_mti_publish_post in modules/blogapi.module
Blogging API callback. Publishes the given node
drupal_access_denied in includes/common.inc
Generates a 403 error if the request is not allowed.
node_add in modules/node.module
Present a node submission form or a set of links to such forms.

Code

includes/common.inc, line 469

<?php
function message_access() {
  return t('You are not authorized to access this page.');
}
?>
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.