The function contact_save_recipient_access() uses 'administer site-wide contact form' which is not defined by this module. The contact module provide 'access site-wide contact form', 'access user contact forms' and 'administer contact forms'. While the later seems closest it covers other admin tasks. It would makes sense to me to add a 'administer all received messages' permission to the module and use that instead of 'administer site-wide contact form'

Comments

joelstein’s picture

Status: Active » Closed (works as designed)

I think you are confused. In Drupal 6, the permissions exposed by contact_perm() include "administer site-wide contact form":

http://api.drupal.org/api/drupal/modules--contact--contact.module/functi...

The permissions you listed above come from the Drupal 7 version Contact:

http://api.drupal.org/api/drupal/modules--contact--contact.module/functi...

Contact Save only has a D6 version, which can't be used with D7.

nevets’s picture

Status: Closed (works as designed) » Needs work

No, I am working with the D6 version.

joelstein’s picture

Status: Needs work » Closed (works as designed)

As I pointed out in the first link above, "administer site-wide contact form" is a permission exposed in the Drupal 6 version of Contact. Please review. I don't see anything here which needs my attention.