[Rt-devel] Giving rights to Creator
Ruslan Zakirov
ruslan.zakirov at gmail.com
Fri Feb 19 13:31:25 EST 2010
On Fri, Feb 19, 2010 at 6:34 PM, Kevin Falcone
<falcone at bestpractical.com> 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.
And this is the only way to get value protected by ACLs inside ACLs checker :)
--
Best regards, Ruslan.
More information about the Rt-devel
mailing list