Closed (won't fix)
Project:
Subversion
Version:
5.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
11 Dec 2007 at 03:35 UTC
Updated:
18 Jan 2011 at 22:34 UTC
The other 3 fixes were the basis to get this going. In my situation, I want any person who is a maintainer to be able to assign a ticket to any other maintainer. The feature is actually quite small:
In the function subversion_form_alter, I added
if ($form_id == 'project_issue_node_form' ) {
// Get the userid/name pairs for all project maintainers (pm) of the given project id (pid)
$result = db_query('
SELECT s.uid, name
FROM {subversion_project_maintainers} s JOIN {users}
ON s.uid = users.uid
WHERE nid = %d', $form['#node']->pid);
while ($pm = db_fetch_object($result)) {
$form['issue_info']['assigned']['#options'][$pm->uid] = $pm->name;
}
}
Comments
Comment #1
mrconnerton commented5.x module is no longer supported.