Bugzilla Bug 2027
Allow help desk users to create tasks on behalf of users Not Logged In. Login Now
Goto bug #

Bug List: First Last (This bug is not in your list)   Show list      Query page      Enter new bug

Bug Information
Product Version Component Status Summary
OpenGroupware.org TRUNK Tasks/Jobs CLOSED Allow help desk users to create tasks on behalf of users

Past Comments
Opened by awilliam@whitemice.org (Adam Tauno Williams) on 2009-05-08 17:37

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.

------- Additional Comment #1 From Adam Tauno Williams on 2009-05-08 17:39 -------

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)

------- Additional Comment #2 From Helge Hess on 2009-05-09 01:53 -------

Thats sounds wrong. Why would the creator be anyone else but the one who created an event?

------- Additional Comment #3 From Adam Tauno Williams on 2009-05-09 02:55 -------

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.

------- Additional Comment #4 From Adam Tauno Williams on 2009-05-09 02:57 -------

Created an attachment (id=697)
Tested patch

------- Additional Comment #5 From Helge Hess on 2009-05-09 03:44 -------

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.

------- Additional Comment #6 From Adam Tauno Williams on 2009-09-11 12:29 -------

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.

------- Additional Comment #7 From Adam Tauno Williams on 2009-09-11 12:37 -------

ALTER TABLE job  ADD COLUMN owner_id INT;
UPDATE job SET owner_id = creator_id;

------- Additional Comment #8 From Adam Tauno Williams on 2009-09-11 15:58 -------

r2274 contains this functionality.  The DB Model, Logic, and zOGI have been
updated.  The WebUI was tested.

Edit Bug Information
Bug#: 2027   Platform:   Reporter: awilliam@whitemice.org (Adam Tauno Williams)
Product:   OS:   Add CC:
Component:   Version:   CC:
Remove selected CCs
Status: CLOSED   Priority:  
Resolution: RESOLVED   Severity:  
Assigned To: awilliam@whitemice.org (Adam Tauno Williams)   Target Milestone:  

QA Contact:
URL:
Summary:
Keywords:

Attachment Type Created Actions
Patch (untested) to implement the specified feature text/plain 2009-05-08 17:05 Edit
Tested patch patch 2009-05-09 02:05 Edit
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 2027 depends on: Show dependency tree
Show dependency graph
Bug 2027 blocks:
Votes:     Show votes for this bug    Vote for this bug

Additional Comments: Add Me to Cc List




View Bug Activity   |   Format For Printing

Bug List: First Last (This bug is not in your list)   Show list      Query page      Enter new bug

Actions: Home | New | Query | Reports | Help | Goto bug #   New Account | Log In