User: NigelCunningham Branch: HEAD Date: Wed, 07 Jul 2010 04:47:28 +0000 Added files: /modules/mailfix mailfix_user_is_domain_admin.inc Modified files: /modules/mailfix INSTALL.txt mailfix.install mailfix.module Log message: Addition of support for Mailfix domain administrators, part 1. Add the first part of support for enabling some users to administer the accounts of other users in chosen Mailfix domains. This patch adds a new mailfix_domain_admins table that maps users to domains for which they have admin privileges, and adds a new field to the user profile form which can be used to control which domains a user can administer. The actual functionality is implemented in the form of a plugin for the virtual_roles module, as explained in the INSTALL.txt file. In a subsequent patch, I intend to add support to the Views integration module for filtering a user query based on whether the active user has Mailfix admin rights, and also intend to provide a sample view that can be used to display a page of edit links for users the current user can administer. Finally, I also intend to work on a means by which a user can easily create users in the domains they can administer. This might turn out to be already done - I haven't thought through all the details yet. Links: http://cvs.drupal.org/diff.php?path=contributions/modules/mailfix/mailfix_us... http://cvs.drupal.org/diff.php?path=contributions/modules/mailfix/INSTALL.tx... http://cvs.drupal.org/diff.php?path=contributions/modules/mailfix/mailfix.in... http://cvs.drupal.org/diff.php?path=contributions/modules/mailfix/mailfix.mo...
participants (1)
-
drupal-cvs@drupal.org