[rt-users] Adding AdminCC on ticket creation fails without ModifyTicket right

Ken Crocker kfcrocker at lbl.gov
Fri Dec 4 13:28:02 EST 2009


Kevin,

Yea. You're right. I've never had to deal with this because we really do 
not use AdminCc at the ticket level. We set up all our AdminCc's at the 
Queue watcher level and that way a simple scrip will take care of 
notifications and we can handle all the privileges with the role at 
queue level. In fact, I modified our ticket create screen to /remove/ 
the AdminCc box. We just don't want to deal with it that way. Oh well. 
Sorry Nick, that I couldn't help you.

Kenn
LBNL

On 12/4/2009 9:29 AM, Kevin Falcone wrote:
> On Thu, Dec 03, 2009 at 11:58:18AM -0800, Nick Kartsioukas wrote:
>   
>> I currently have permissions set on tickets such that only the ticket
>> owner has the ModifyTicket right.  If I create a ticket, and on the
>> ticket creation screen set someone as AdminCC, and submit the ticket,
>> the ticket is successfully created but I get a permission denied error
>> on adding the AdminCC.  I'm not sure if this is a bug or a feature...I
>> would think that a privileged user creating a ticket should be able to
>> set an AdminCC (for a manager or someone else who wishes to follow the
>> ticket details), but the order in which RT creates the ticket prevents
>> that from working (ticket created, then a separate transaction to add
>> the AdminCC).  This problem does not exist when adding a normal CC on
>> ticket creation.
>> If I create the ticket with myself as the owner, it does allow me to set
>> AdminCC, but in our setup a privileged user (as a member of one
>> particular group) does not have ownership permissions in all the queues,
>> but we do have create ticket permissions in other queues.
>>
>> Any ideas if there's a way around this?
>>     
>
> The code is rather explicit about this.
> If you're creating a ticket and try to add an AdminCc it either wants
> your user to have ModifyTicket or for you to be adding yourself and
> for you to have WatchAsAdminCc.
>
> If you care to look in the code, see Ticket_Overlay.pm's Create
> method, the loop at 534 and then the contents of the AddWatcher
> method.
>
> -kevin
>   
> ------------------------------------------------------------------------
>
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>
> Community help: http://wiki.bestpractical.com
> Commercial support: sales at bestpractical.com
>
>
> Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
> Buy a copy at http://rtbook.bestpractical.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20091204/b3a4c3e4/attachment.htm>


More information about the rt-users mailing list