Hi
can't believe I only just found this module - loving it - much thanks :-))

attached is a function to add access rules as per the user_admin_access_form_submit() function

the new code is


/**
 * 
 * @param $mask
 *  %: Matches any number of characters, even zero characters _: Matches exactly one character
 * @param $type
 *   user, mail, host
 * @param boolean $allow
 *     1 means 0 means deny
 */
function install_add_access_rule($mask, $type, $allow){
   db_query("INSERT INTO {access} (mask, type, status) VALUES ('%s', '%s', %d)", $mask, $type, $allow);
}
CommentFileSizeAuthor
install_add_access_rule.patch781 bytesseanburlington
Support from Acquia helps fund testing for Drupal Acquia logo