[Rt-devel] Giving rights to Creator

Emmanuel Lacour elacour at easter-eggs.com
Mon Feb 22 04:01:23 EST 2010


On Fri, Feb 19, 2010 at 10:34:19AM -0500, Kevin Falcone wrote:
> On Fri, Feb 19, 2010 at 03:34:06PM +0100, Emmanuel Lacour wrote:
> > On Fri, Feb 19, 2010 at 02:09:29PM +0000, Raed El-Hames wrote:
> > > Possibly something else you can try is ($args{Object}->CreatorObj->Id)  
> > > and by the way you need to make sure you are dealing with a Ticket Obj  .
> > >
> > 
> > I tried $args{Object}->CreatorObj->Id, this doesn't trigger the loop,
> > but this doesn't return the creator Id.
> 
> I've not gone and examined the code in question, but does
> $args{Object}->__Value('Creator') work for you?  It is evil and
> bypasses all ACLs, but may be the only way to do what you want.
> 

It works fine, thanks Kevin :)



More information about the Rt-devel mailing list