Skip to content
This repository has been archived by the owner on Nov 7, 2023. It is now read-only.

Commit

Permalink
Explicitly adding 'user_access' as access callback.
Browse files Browse the repository at this point in the history
  • Loading branch information
hugowetterberg committed Mar 8, 2010
1 parent 65c48b1 commit 28d30be
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions noteresource.module
Expand Up @@ -78,6 +78,7 @@ function noteresource_services_resources() {
'help' => 'Creates a note',
'file' => array('file' => 'inc', 'module' => 'noteresource'),
'callback' => '_noteresource_create',
'access callback' => 'user_access',
'access arguments' => array('note resource create'),
'access arguments append' => FALSE,
'args' => array(
Expand Down

0 comments on commit 28d30be

Please sign in to comment.