[rt-devel] Re: Queue-rights
Jonas Lincoln
lincoln at unit.liu.se
Wed May 14 07:59:28 EDT 2003
To answer myself: It wasn't :)
Next question: In a scrip, how do I get all users that has a certain
right on a certain Queue? I can get the QueueObj by
$self->TicketObj->QueueObj, but how do I loop (or something) this object
to get all users that has the right (my own defined) "WorkMember".
In pseudo-code:
while (my $UserObj = QueueObj->AllUsersWithRight("WorkMember")) {
.. send email ..
}
Jonas Lincoln wrote:
> Hm, thought:
> Is it possible to add a new right "QueueMember" which I can use on the
> first page and Quicksearch? Is this hard to do?
>
> /J
>
> kim.taylor at pncbank.com wrote:
>
>> Jonas Lincoln wrote:
>>
>>> I have the following scenario:
>>> Management has a lot of projects, 50+. These will each get an own queue.
>>> All staff-workers will get rights to work in all queues.
>>
>>
>>
>>> However, I want something to use to show what projects an employee
>>> actually works with. This is so that the quick-search and first page
>>> won't clog up entirely with uninteresting queues that an employee
>>> doesn't work with, but still must be able to handle when necessary.
>>
>>
>>
>>> How do I solve this? Suggestions?
>>
>>
>>
>> Firstly, I don't have any ideas on how to do this, sorry.
>>
>> Your scenario/environment sounds very much like that I deal with.
>>
>> I'm watching the RT mailing list, but if you would get any
>> hints/suggestions/brainstorms, please do pass them along directly if you
>> could.
>>
>> Thanks and good luck in your quest,
>>
>> KET
>> <Kim.Taylor at pnc.com>
>>
>>
>
> _______________________________________________
> rt-devel mailing list
> rt-devel at lists.fsck.com
> http://lists.fsck.com/mailman/listinfo/rt-devel
More information about the Rt-devel
mailing list