Re: [rt-users] RT 4.4 Assets

2016-01-21 Thread Tony G Palomino
1. Assets can be linked to other assets (refers to, etc)

2. Assets can be associated with multiple people through a variety of roles.

On Thu, Jan 21, 2016 at 4:45 PM, Armen Tashjian 
wrote:

> I have not had the opportunity to upgrade to 4.4, however I was curious
> about how assets could interact with other assets.
>
>
>
> 1.  Can an asset be linked with another asset? Or can you only link
> assets with tickets?
>
> For example, there could be two catalogs, one called “Computers” and
> another called “Monitors”.  Could computer A be linked with monitor B and
> monitor C?
>
>
>
> 2.  Can an asset be associated with multiple people? For example,
> with a shared device.
>
>
>
>
>



-- 
tony.palom...@reed.edu
Director, Computer User Services
Reed College
503-788-6622


[rt-users] RT 4.4 Assets

2016-01-21 Thread Armen Tashjian
I have not had the opportunity to upgrade to 4.4, however I was curious about 
how assets could interact with other assets.


1.  Can an asset be linked with another asset? Or can you only link assets 
with tickets?
For example, there could be two catalogs, one called "Computers" and another 
called "Monitors".  Could computer A be linked with monitor B and monitor C?


2.  Can an asset be associated with multiple people? For example, with a 
shared device.




[rt-users] fulltext index update failure (RT 4.2.12)

2016-01-21 Thread elifree
Hello, 

We have juste upgraded our RT this morning to version 4.2.12 (from 4.2.6) and 
MySQL to 5.6 (from 5.5) in order to implement the full text indexing. 

It works, but when running /appli/rt4/sbin/rt-fulltext-indexer to update the 
table AttachmentsIndex, it stops with an error : 

extract from the log file : 

Jan 21 14:50:01 helpdesk.inria.fr CRON[9668]: (root) CMD 
(/appli/rt4/sbin/rt-fulltext-indexer --quiet) 

Jan 21 14:50:03 helpdesk.inria.fr RT: [9669] DBD::mysql::st execute failed: 
MySQL server has gone away at /appli/rt4/sbin/rt-fulltext-indexer line 216. 
Jan 21 14:50:03 helpdesk.inria.fr RT: [9669] DBD::mysql::st execute failed: 
MySQL server has gone away at /appli/rt4/sbin/rt-fulltext-indexer line 222. 
Jan 21 14:50:03 helpdesk.inria.fr RT: [9669] Attachment 602620 cannot be 
indexed: MySQL server has gone away at /appli/rt4/sbin/rt-fulltext-indexer line 
254. 

The result is that new attachments are not indexed. 

I don't know what to do : should I just shred the attachment 602620 ? Is this 
at risk ? 

Thanks a lot for your help, 
Elisabeth 











Re: [rt-users] View dashboard of another user who's searches depend on __CurrentUser__

2016-01-21 Thread Sally Ainsley
Hi Woody

Not sure what your overall goal is however I have put our staff into GROUPS 
based on the teams they are in.  

We then have searches that are for _CurrentUser_ as well as other searches that 
are based on OWNERGROUP = x.  

We then have saved searches visible to each GROUP so that they can see tickets 
assigned to their team - this means that if a member of staff if off others in 
that team can pick up the work.  Works well when team managers are away also.

Not sure if this helps 

Sally

Sally Ainsley 

-Original Message-
From: rt-users [mailto:rt-users-boun...@lists.bestpractical.com] On Behalf Of 
Woody - Wild Thing Safaris
Sent: 21 January 2016 12:48
To: rt-users@lists.bestpractical.com
Subject: [rt-users] View dashboard of another user who's searches depend on 
__CurrentUser__

Hi all,

I have a dashboard, in which there are searches that depend on __CurrentUser__, 
so each user that accesses the dashboard can only see tickets owned by them.

If someone is away, i would like someone else to be able to see the dashboard 
of the absent person. I don't want to give them the absent user's login, nor do 
i want to create searches for each user that are hardwired to their username.

Something like www.myrt.com/dashboards/12345/Dashname/Username would do the job 
whereby __CurrentUser__ is replaced by "Username" and not the person who's 
actually logged in.

I can see in lib/RT/Tickets.pm in sub _parser the line

 # replace __CurrentUser__ with id
 $value = $self->CurrentUser->id if $value eq '__CurrentUser__';

and in lib/RT/Search/Simple.pm

sub HandleOwner {
 if (!$_[2] and $_[1] eq "me") {
 return owner => "Owner.id = '__CurrentUser__'";
 }
 elsif (!$_[2] and $_[1] =~ /\w+@\w+/) {
 return owner => "Owner.EmailAddress = '$_[1]'";
 } else {
 return owner => "Owner = '$_[1]'";
 }
}

So i think that a hack is needed somewhere there, and when the url is parsed 
the extra username field assigned to a variable that can be used in those subs. 
I can't find however where sub HandleOwner is called from since that's the only 
time it appears in the code!

Does this sound like a sensible way of going about it, or can anyone think of a 
better solution, or know of an existing one?

thanks in advance

Woody.

-- 

---

Richard Wood (Woody)
Managing Director
Wild Thing Safaris Ltd.

UK: 2B Habbo St, Greenwich, London
Dar es Salaam: 5 Ethan St, Mbezi beach
Arusha: 3 Ebeneezer Rd, Njiro
PO BOX 34514 DSM
Office: +255 (0) 222 617 166
Office Mobile: +255 (0) 773 503 502
Direct: +255 742 373 327
Skype: woody1tz
http://wildthingsafaris.com




[rt-users] View dashboard of another user who's searches depend on __CurrentUser__

2016-01-21 Thread Woody - Wild Thing Safaris

Hi all,

I have a dashboard, in which there are searches that depend on 
__CurrentUser__, so each user that accesses the dashboard can only see 
tickets owned by them.


If someone is away, i would like someone else to be able to see the 
dashboard of the absent person. I don't want to give them the absent 
user's login, nor do i want to create searches for each user that are 
hardwired to their username.


Something like www.myrt.com/dashboards/12345/Dashname/Username would do 
the job whereby __CurrentUser__ is replaced by "Username" and not the 
person who's actually logged in.


I can see in lib/RT/Tickets.pm in sub _parser the line

# replace __CurrentUser__ with id
$value = $self->CurrentUser->id if $value eq '__CurrentUser__';

and in lib/RT/Search/Simple.pm

sub HandleOwner {
if (!$_[2] and $_[1] eq "me") {
return owner => "Owner.id = '__CurrentUser__'";
}
elsif (!$_[2] and $_[1] =~ /\w+@\w+/) {
return owner => "Owner.EmailAddress = '$_[1]'";
} else {
return owner => "Owner = '$_[1]'";
}
}

So i think that a hack is needed somewhere there, and when the url is 
parsed the extra username field assigned to a variable that can be used 
in those subs. I can't find however where sub HandleOwner is called from 
since that's the only time it appears in the code!


Does this sound like a sensible way of going about it, or can anyone 
think of a better solution, or know of an existing one?


thanks in advance

Woody.

--

---

Richard Wood (Woody)
Managing Director
Wild Thing Safaris Ltd.

UK: 2B Habbo St, Greenwich, London
Dar es Salaam: 5 Ethan St, Mbezi beach
Arusha: 3 Ebeneezer Rd, Njiro
PO BOX 34514 DSM
Office: +255 (0) 222 617 166
Office Mobile: +255 (0) 773 503 502
Direct: +255 742 373 327
Skype: woody1tz
http://wildthingsafaris.com



[rt-users] RT SelfService

2016-01-21 Thread wajdi
Hello,

In Use of the SelfService interface can create a user with password manually
without automatic generation of password?

If yes how can I do it ?

Thank you for all