From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.8) Gecko/2009032600 SUSE/3.0.8-1.1.1 Firefox/3.0.8 Description of problem: Define a role which can set the creatorId of new tasks; this allows a help desk to create tasks on behalf of other users. Currently only the root user can set the creatorId to a value other than his own accountId. Version-Release number of selected component (if applicable): TRUNK How reproducible: Always Steps to Reproduce: 1. Create task setting creatorId Actual Results: creatorId reverts to my accountId Expected Results: If I am a help desk user allow the task to be created under the specified user id. Additional info: This is similiar to the team-creators team.
Created an attachment (id=695) Patch (untested) to implement the specified feature Adds the default "OGoHelpDeskRoleName" which specified the team name; these users can assign creatorId (theoretically)
Thats sounds wrong. Why would the creator be anyone else but the one who created an event?
In a perfect world I'd completely agree. However I have a couple of "help desk" situations were user's need to file requests. Most users perform this on their own but there is a population of users who *always* call the support line. We depend upon the user owning the task, getting the e-mail notifications sent to the creator, etc... for the workflow of the tasks. This patch allows the support desk person to say "Ok, lets file the request...". When this occurs the log still records the actor of the creation as the help desk person but the creator of the task is the caller.
Created an attachment (id=697) Tested patch
This just sounds like we need to add an owner_id or manager_id or something like that, and recode stuff which uses the creator_id for anything else but showing who created the task.
So 1.) create an owner_id initally equal to the creator_id field. 2.) modify to-do / deletegated / archived to user owner_id rather than creator 3.) modify task create to set owner_id = creator_id if no owner is specified (keeping existing behaviour as default) but allow owner_id to be set to another value if creator is in the help desk role.
ALTER TABLE job ADD COLUMN owner_id INT; UPDATE job SET owner_id = creator_id;
r2274 contains this functionality. The DB Model, Logic, and zOGI have been updated. The WebUI was tested.