Change the shown 'logged in as...' name

Good morning,

I’m using mod_auth_kerb with Apache to authenticate our users. The
authentication works fine, each user is recognized by their
userPrincipalName from our AD which is mapped to RT as their username.
This causes to show also the userPrincipalNames in the main navigation bar,
which confuses the users.
So now my question is:
How can I change the shown name in the navigation bar? It would be great if
I could change it to the RealName of the user.
I tried to change the /path/to/rt/share/html/Elements/Tabs file from
$session{‘CurrentUser’}->Name to $session{‘CurrentUser’}->RealName in lines
385 and 731 but it didn’t work.

I would really appreciate some help.
Thanks in advance!

Have a nice day!
View this message in context: http://old.nabble.com/Change-the-shown-'logged-in-as...'-name-tp32729334p32729334.html

Did you clear the mason cache after making this change?-----Original Message-----
From: rt-users-bounces@lists.bestpractical.com [mailto:rt-users-bounces@lists.bestpractical.com] On Behalf Of declaya
Sent: Thursday, October 27, 2011 1:12 AM
To: rt-users@lists.bestpractical.com
Subject: [rt-users] Change the shown ‘logged in as…’ name

Good morning,

I’m using mod_auth_kerb with Apache to authenticate our users. The
authentication works fine, each user is recognized by their
userPrincipalName from our AD which is mapped to RT as their username.
This causes to show also the userPrincipalNames in the main navigation bar,
which confuses the users.
So now my question is:
How can I change the shown name in the navigation bar? It would be great if
I could change it to the RealName of the user.
I tried to change the /path/to/rt/share/html/Elements/Tabs file from
$session{‘CurrentUser’}->Name to $session{‘CurrentUser’}->RealName in lines
385 and 731 but it didn’t work.

I would really appreciate some help.
Thanks in advance!

Have a nice day!
View this message in context: http://old.nabble.com/Change-the-shown-'logged-in-as...'-name-tp32729334p32729334.html

RT Training Sessions (http://bestpractical.com/services/training.html)

  • Washington DC, USA October 31 & November 1, 2011
  • Barcelona, Spain November 28 & 29, 2011

Hi,

RT=v3.8.8

short Question:

Apperently Users with the following rights cannot assign links to
tickets outside of one queue they have the rights in:

QueueA rights:

CreateTicket
ModifyTicket
OwnTicket
ReplyToTicket
SeeQueue
ShowTicket
StealTicket
TakeTicket

QueueB rights:

CreateTicket
ReplyToTicket
SeeQueue
ShowTicket

Ticket1 in QueueA:
Links -> Cannot assign Child:
Ticket2 in QueueB

Why is that, because I don’t alter Ticket2 but Ticket1 where I have
almost full access?

Otherwise: What is my error / which right is needed?

Many thanks,
and sorry for not digging through the archives as time is short atm.
LR

Hi,

RT=v3.8.8

short Question:

Apperently Users with the following rights cannot assign links to
tickets outside of one queue they have the rights in:

QueueA rights:

CreateTicket
ModifyTicket
OwnTicket
ReplyToTicket
SeeQueue
ShowTicket
StealTicket
TakeTicket

QueueB rights:

CreateTicket
ReplyToTicket
SeeQueue
ShowTicket

Ticket1 in QueueA:
Links → Cannot assign Child:
Ticket2 in QueueB

Why is that, because I don’t alter Ticket2 but Ticket1 where I have
almost full access?

Don’t you alter Ticket2 in QueueB to set the “Parent” links field?

Ken

short Question:

Apperently Users with the following rights cannot assign links to
tickets outside of one queue they have the rights in:

QueueA rights:

CreateTicket
ModifyTicket
OwnTicket
ReplyToTicket
SeeQueue
ShowTicket
StealTicket
TakeTicket

QueueB rights:

CreateTicket
ReplyToTicket
SeeQueue
ShowTicket

Ticket1 in QueueA:
Links → Cannot assign Child:
Ticket2 in QueueB

Why is that, because I don’t alter Ticket2 but Ticket1 where I have
almost full access?

Don’t you alter Ticket2 in QueueB to set the “Parent” links field?

There’s a config option that controls this, try searching RT_Config.pm
for Link

-kevin

Lars,

You want to turn off "StrictACL in your Configuration settings:

Set($StrictLinkACL, 0);
This allows the parent/child relationship between Queues.

Hope this helps.

KennOn Thu, Oct 27, 2011 at 8:14 AM, Lars Reimann l.reimann@metaways.de wrote:

Hi,

RT=v3.8.8

short Question:

Apperently Users with the following rights cannot assign links to tickets
outside of one queue they have the rights in:

QueueA rights:

CreateTicket
ModifyTicket
OwnTicket
ReplyToTicket
SeeQueue
ShowTicket
StealTicket
TakeTicket

QueueB rights:

CreateTicket
ReplyToTicket
SeeQueue
ShowTicket

Ticket1 in QueueA:
Links → Cannot assign Child:
Ticket2 in QueueB

Why is that, because I don’t alter Ticket2 but Ticket1 where I have almost
full access?

Otherwise: What is my error / which right is needed?

Many thanks,
and sorry for not digging through the archives as time is short atm.
LR

RT Training Sessions (http://bestpractical.com/**services/training.htmlhttp://bestpractical.com/services/training.html
)

  • Washington DC, USA October 31 & November 1, 2011
  • Barcelona, Spain November 28 & 29, 2011

Hi Izz,

That’s it!! :smiley:
I just forgot to clear the mason cache.
Thanks a LOT for this hint!
Everything works as expected now.

I didn’t even know that there is a wiki page about the mason cache:
http://requesttracker.wikia.com/wiki/CleanMasonCache
http://requesttracker.wikia.com/wiki/CleanMasonCache

You made my day. Have a nice weekend!

Izz Abdullah wrote:

Did you clear the mason cache after making this change?

-----Original Message-----
From: rt-users-bounces@lists.bestpractical.com
[mailto:rt-users-bounces@lists.bestpractical.com] On Behalf Of declaya
Sent: Thursday, October 27, 2011 1:12 AM
To: rt-users@lists.bestpractical.com
Subject: [rt-users] Change the shown ‘logged in as…’ name

Good morning,

I’m using mod_auth_kerb with Apache to authenticate our users. The
authentication works fine, each user is recognized by their
userPrincipalName from our AD which is mapped to RT as their username.
This causes to show also the userPrincipalNames in the main navigation
bar,
which confuses the users.
So now my question is:
How can I change the shown name in the navigation bar? It would be great
if
I could change it to the RealName of the user.
I tried to change the /path/to/rt/share/html/Elements/Tabs file from
$session{‘CurrentUser’}->Name to $session{‘CurrentUser’}->RealName in
lines
385 and 731 but it didn’t work.

I would really appreciate some help.
Thanks in advance!

Have a nice day!

View this message in context:
http://old.nabble.com/Change-the-shown-'logged-in-as...'-name-tp32729334p32729334.html
Sent from the Request Tracker - User mailing list archive at Nabble.com.


RT Training Sessions (http://bestpractical.com/services/training.html)

  • Washington DC, USA October 31 & November 1, 2011
  • Barcelona, Spain November 28 & 29, 2011

RT Training Sessions (http://bestpractical.com/services/training.html)

  • Washington DC, USA October 31 & November 1, 2011
  • Barcelona, Spain November 28 & 29, 2011

View this message in context: http://old.nabble.com/Change-the-shown-'logged-in-as...'-name-tp32729334p32736272.html

I’m glad I could assist.From: rt-users-bounces@lists.bestpractical.com [mailto:rt-users-bounces@lists.bestpractical.com] On Behalf Of declaya
Sent: Friday, October 28, 2011 1:50 AM
To: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] Change the shown ‘logged in as…’ name

Hi Izz,

That’s it!! :smiley:
I just forgot to clear the mason cache.
Thanks a LOT for this hint!
Everything works as expected now.

I didn’t even know that there is a wiki page about the mason cache:
http://requesttracker.wikia.com/wiki/CleanMasonCache
http://requesttracker.wikia.com/wiki/CleanMasonCache

You made my day. Have a nice weekend!

Izz Abdullah wrote:

Did you clear the mason cache after making this change?

-----Original Message-----
From: rt-users-bounces@lists.bestpractical.com
[mailto:rt-users-bounces@lists.bestpractical.com] On Behalf Of declaya
Sent: Thursday, October 27, 2011 1:12 AM
To: rt-users@lists.bestpractical.com
Subject: [rt-users] Change the shown ‘logged in as…’ name

Good morning,

I’m using mod_auth_kerb with Apache to authenticate our users. The
authentication works fine, each user is recognized by their
userPrincipalName from our AD which is mapped to RT as their username.
This causes to show also the userPrincipalNames in the main navigation
bar,
which confuses the users.
So now my question is:
How can I change the shown name in the navigation bar? It would be great
if
I could change it to the RealName of the user.
I tried to change the /path/to/rt/share/html/Elements/Tabs file from
$session{‘CurrentUser’}->Name to $session{‘CurrentUser’}->RealName in
lines
385 and 731 but it didn’t work.

I would really appreciate some help.
Thanks in advance!

Have a nice day!

View this message in context:
http://old.nabble.com/Change-the-shown-'logged-in-as...'-name-tp32729334p32729334.html
Sent from the Request Tracker - User mailing list archive at Nabble.com.


RT Training Sessions (http://bestpractical.com/services/training.html)

  • Washington DC, USA October 31 & November 1, 2011
  • Barcelona, Spain November 28 & 29, 2011

RT Training Sessions (http://bestpractical.com/services/training.html)

  • Washington DC, USA October 31 & November 1, 2011
  • Barcelona, Spain November 28 & 29, 2011

View this message in context: http://old.nabble.com/Change-the-shown-'logged-in-as...'-name-tp32729334p32736272.html

RT Training Sessions (http://bestpractical.com/services/training.html)

  • Washington DC, USA October 31 & November 1, 2011
  • Barcelona, Spain November 28 & 29, 2011

Hi

We modified httpd in /etc/init.d/rc.d so any restart of apache does it by defaulf:
start() {
echo -n $"Starting $prog: "
echo -n $"Zapping MASON cache: "
rm -fr /opt/rt3/var/mason_data/obj
check13 || exit 1
LANG=$HTTPD_LANG daemon $httpd $OPTIONS
RETVAL=$?
echo
[ $RETVAL = 0 ] && touch ${lockfile}
return $RETVAL
}

regards

GarryOn 28 Oct 2011, at 07:49, declaya wrote:

Hi Izz,

That’s it!! :smiley:
I just forgot to clear the mason cache.
Thanks a LOT for this hint!
Everything works as expected now.

I didn’t even know that there is a wiki page about the mason cache:
http://requesttracker.wikia.com/wiki/CleanMasonCache
http://requesttracker.wikia.com/wiki/CleanMasonCache

You made my day. Have a nice weekend!

Izz Abdullah wrote:

Did you clear the mason cache after making this change?

-----Original Message-----
From: rt-users-bounces@lists.bestpractical.com
[mailto:rt-users-bounces@lists.bestpractical.com] On Behalf Of declaya
Sent: Thursday, October 27, 2011 1:12 AM
To: rt-users@lists.bestpractical.com
Subject: [rt-users] Change the shown ‘logged in as…’ name

Good morning,

I’m using mod_auth_kerb with Apache to authenticate our users. The
authentication works fine, each user is recognized by their
userPrincipalName from our AD which is mapped to RT as their username.
This causes to show also the userPrincipalNames in the main navigation
bar,
which confuses the users.
So now my question is:
How can I change the shown name in the navigation bar? It would be great
if
I could change it to the RealName of the user.
I tried to change the /path/to/rt/share/html/Elements/Tabs file from
$session{‘CurrentUser’}->Name to $session{‘CurrentUser’}->RealName in
lines
385 and 731 but it didn’t work.

I would really appreciate some help.
Thanks in advance!

Have a nice day!

View this message in context:
http://old.nabble.com/Change-the-shown-'logged-in-as...'-name-tp32729334p32729334.html
Sent from the Request Tracker - User mailing list archive at Nabble.com.


RT Training Sessions (http://bestpractical.com/services/training.html)

  • Washington DC, USA October 31 & November 1, 2011
  • Barcelona, Spain November 28 & 29, 2011

RT Training Sessions (http://bestpractical.com/services/training.html)

  • Washington DC, USA October 31 & November 1, 2011
  • Barcelona, Spain November 28 & 29, 2011


View this message in context: http://old.nabble.com/Change-the-shown-'logged-in-as...'-name-tp32729334p32736272.html
Sent from the Request Tracker - User mailing list archive at Nabble.com.


RT Training Sessions (http://bestpractical.com/services/training.html)

  • Washington DC, USA October 31 & November 1, 2011
  • Barcelona, Spain November 28 & 29, 2011