Download & Extend

Contact permissions

Provides further permissions to control how core's contact module behaves.

For now, only one permission is added: "Have a personal contact form" which allows administrators to configure which roles get the ability to have a "Personal contact form".

Suggestions as to what other permissions would be useful are welcome.

How to use it

Simply install it like any other module, and under 'admin/user/permissions', configure what roles should be able to 'Have a personal contact form'.

How it works

The module does two things to every role which does NOT have the permission assigned:

  • Removes the option from its user edit page to activate his/her personal contact form, through hook_form_alter.
  • Removes access from anyone to see his/her user/%uid/contact by taking over the access callback for those pages.
  • Note that core's access callback is executed before our checks, and only if there is access granted by core, we run our checks.

Ported to Drupal 7 thanks to pcambra. The current 7.x dev version should be stable to use, please let us know any problems so that we move to a stable release asap.

Downloads

Recommended releases

Version Downloads Date Links
6.x-1.1 tar.gz (7.7 KB) | zip (8.25 KB) 2012-Apr-25 Notes

Development releases

Version Downloads Date Links
7.x-1.x-dev tar.gz (7.58 KB) | zip (8.13 KB) 2012-Oct-05 Notes

Project Information


Maintainers for Contact permissions

  • Manuel Garcia - 5 commits
    last: 32 weeks ago, first: 1 year ago
  • pcambra - 1 commit
    last: 1 year ago, first: 1 year ago

Issues for Contact permissions

To avoid duplicates, please search before submitting a new issue.
All issues
Bug reports
Statistics (2 years)
New issues
Open bugs
Participants
nobody click here