How to adjust 'Organization' in 'About me'

Hi,

Quick question that hopefully is fairly easy to resolve - my users want to be able to adjust their ‘Organization’ within ‘About me’ in the Preferences menu.

Providing ‘ModifySelf’ privileges to users allows adjustment of every other field on that screen, apart from Organization. What privilege do users need to alter this?

I’m using RT 3.8.7 and 3.8.9.

Thanks,

Guy

Please consider the environment before printing this email.

This message should be regarded as confidential. If you have received this email in error please notify the sender and destroy it immediately.

Statements of intent shall only become binding when confirmed in hard copy by an authorised signatory.

The contents of this email may relate to dealings with other companies under the control of BAE Systems plc details of which can be found at http://www.baesystems.com/Businesses/index.htm.

Detica Limited is a BAE Systems company trading as BAE Systems Detica.
Detica Limited is registered in England and Wales under No: 1337451.
Registered office: Surrey Research Park, Guildford, Surrey, GU2 7YP, England.

Quick question that hopefully is fairly easy to resolve - my users want to be able to adjust
their ‘Organization’ within ‘About me’ in the Preferences menu.

Providing ‘ModifySelf’ privileges to users allows adjustment of every other field on that
screen, apart from Organization. What privilege do users need to alter this?

I’m using RT 3.8.7 and 3.8.9.

ModifySelf is the only right that affects this unfortunately, and it’s
an all or nothing right.

You’d need to write some code to restrict what is updated, or you
could use something similar to the LDAPImporter extension to suck in
correct organization data from an up-to-date external source.

-kevin

Actually, that was rather my point - the ModifySelf right doesn’t affect this field - users with ModifySelf aren’t able to edit the Organisation field (at least in the version I’m running - 3.8.9).

The other option that appears to exist is a custom field - however, I don’t seem to be able add a Custom Field to the ‘About me’ window either. Any guidance around this as well would be much appreciated!

Thanks in advance,

GuyFrom: rt-users-bounces@lists.bestpractical.com on behalf of Kevin Falcone
Sent: Thu 02/02/2012 17:05
To: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] How to adjust ‘Organization’ in ‘About me’

Quick question that hopefully is fairly easy to resolve - my users want to be able to adjust
their ‘Organization’ within ‘About me’ in the Preferences menu.

Providing ‘ModifySelf’ privileges to users allows adjustment of every other field on that
screen, apart from Organization. What privilege do users need to alter this?

I’m using RT 3.8.7 and 3.8.9.

ModifySelf is the only right that affects this unfortunately, and it’s
an all or nothing right.

You’d need to write some code to restrict what is updated, or you
could use something similar to the LDAPImporter extension to suck in
correct organization data from an up-to-date external source.

-kevin

Please consider the environment before printing this email.

This message should be regarded as confidential. If you have received this email in error please notify the sender and destroy it immediately.

Statements of intent shall only become binding when confirmed in hard copy by an authorised signatory.

The contents of this email may relate to dealings with other companies under the control of BAE Systems plc details of which can be found at Our businesses | BAE Systems | International.

Detica Limited is a BAE Systems company trading as BAE Systems Detica.
Detica Limited is registered in England and Wales under No: 1337451.
Registered office: Surrey Research Park, Guildford, Surrey, GU2 7YP, England.

winmail.dat (4.74 KB)

Take a look at _OverlayAccessible in lib/RT/User.pm.On Wed, Feb 8, 2012 at 17:07, Jeffery, Guy Guy.Jeffery@baesystemsdetica.com wrote:

Actually, that was rather my point - the ModifySelf right doesn’t affect this field - users with ModifySelf aren’t able to edit the Organisation field (at least in the version I’m running - 3.8.9).

The other option that appears to exist is a custom field - however, I don’t seem to be able add a Custom Field to the ‘About me’ window either. Any guidance around this as well would be much appreciated!

Thanks in advance,

Guy


From: rt-users-bounces@lists.bestpractical.com on behalf of Kevin Falcone
Sent: Thu 02/02/2012 17:05
To: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] How to adjust ‘Organization’ in ‘About me’

On Thu, Feb 02, 2012 at 12:42:32PM -0000, Jeffery, Guy wrote:

Quick question that hopefully is fairly easy to resolve - my users want to be able to adjust
their ‘Organization’ within ‘About me’ in the Preferences menu.

Providing ‘ModifySelf’ privileges to users allows adjustment of every other field on that
screen, apart from Organization. What privilege do users need to alter this?

I’m using RT 3.8.7 and 3.8.9.

ModifySelf is the only right that affects this unfortunately, and it’s
an all or nothing right.

You’d need to write some code to restrict what is updated, or you
could use something similar to the LDAPImporter extension to suck in
correct organization data from an up-to-date external source.

-kevin

Please consider the environment before printing this email.

This message should be regarded as confidential. If you have received this email in error please notify the sender and destroy it immediately.

Statements of intent shall only become binding when confirmed in hard copy by an authorised signatory.

The contents of this email may relate to dealings with other companies under the control of BAE Systems plc details of which can be found at Our businesses | BAE Systems | International.

Detica Limited is a BAE Systems company trading as BAE Systems Detica.
Detica Limited is registered in England and Wales under No: 1337451.
Registered office: Surrey Research Park, Guildford, Surrey, GU2 7YP, England.


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

  • Boston — March 5 & 6, 2012

Best regards, Ruslan.

That’s brilliant, cheers, I can remove the admin component on the Organization field in User_Overlay.pm.

Thanks again, much appreciated.From: ruslan.zakirov@gmail.com on behalf of Ruslan Zakirov
Sent: Wed 08/02/2012 14:33
To: Jeffery, Guy (UK Gloucester)
Cc: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] How to adjust ‘Organization’ in ‘About me’

Take a look at _OverlayAccessible in lib/RT/User.pm.

That’s brilliant, cheers, I can remove the admin component on the
Organization field in User_Overlay.pm.

Better yet, modify the accessible properties in your own
/opt/rt3/local/lib/RT/User_Local.pm file:

package RT::User;
use strict;
use warnings;

sub _LocalAccessible {
{
Organization => { admin => 0 },
}
}

Required to work around a 3.8 quirk

PACKAGE->_BuildTableAttributes;

1;