How to hide Configuration Tab?

Hello,

I apoligize if this has been covered before, I tried to find the answer in the mailing list archives - but was unable.

I was just wondering if there was a way through permissions / acls / etc to stop regular users from seeing the “Configuration” link at the top of the home page / search page, or if you have to manually hide that? I’m pretty confident I haven’t done anything to strange to my RT installation yet, as it’s pretty fresh - but haven’t been able to find a method to hide it.

Any help is greatly appreciated.

Running Version: 2.0.13, in case thats relevant.

alan evetts

You may not want to, and I don’t think you can. They need to be able to get
in there to change their passwords.

At 11:07 AM 4/11/2002 -0700, alan evetts wrote:

Hello,

I apoligize if this has been covered before, I tried to find the answer in
the mailing list archives - but was unable.

I was just wondering if there was a way through permissions / acls / etc
to stop regular users from seeing the “Configuration” link at the top of
the home page / search page, or if you have to manually hide that? I’m
pretty confident I haven’t done anything to strange to my RT installation
yet, as it’s pretty fresh - but haven’t been able to find a method to hide it.

Any help is greatly appreciated.

Running Version: 2.0.13, in case thats relevant.


alan evetts


rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

Russ Johnson

Nostalgia isn’t what it used to be

Passwords are changed under the Preferences link, right?

I think Alan’s asking about the Configuration link.

Matt

Russ Johnson writes:

yea you can. comment out the link in $RT/Elements/Tabs and tell your “admin type people” to just go directly to yourdomain.com steht zum Verkauf - Sedo GmbH in order to make changes.

I also didnt like the idea of flaunting things that people didnt have access to modify anyway…

|> You may not want to, and I don’t think you can. They need to be able to get
|> in there to change their passwords.

If you want to give them the ability to do so, can`t you simply give them the rights and let them use the “preferences” link in $RT/Elements/Header?

timuel----- Original Message -----
From: “Russ Johnson” russj@dimstar.net
To: rt-users@lists.fsck.com
Sent: Thursday, April 11, 2002 2:35 PM
Subject: Re: [rt-users] How to hide Configuration Tab ?

| You may not want to, and I don’t think you can. They need to be able to get
| in there to change their passwords.
|
| At 11:07 AM 4/11/2002 -0700, alan evetts wrote:
| >Hello,
| >
| >I apoligize if this has been covered before, I tried to find the answer in
| >the mailing list archives - but was unable.
| >
| >I was just wondering if there was a way through permissions / acls / etc
| >to stop regular users from seeing the “Configuration” link at the top of
| >the home page / search page, or if you have to manually hide that? I’m
| >pretty confident I haven’t done anything to strange to my RT installation
| >yet, as it’s pretty fresh - but haven’t been able to find a method to hide it.
| >
| >Any help is greatly appreciated.
| >
| >
| >Running Version: 2.0.13, in case thats relevant.
| >
| >–
| >alan evetts
| >
| >_______________________________________________
| >rt-users mailing list
| >rt-users@lists.fsck.com
| >http://lists.fsck.com/mailman/listinfo/rt-users
|
| Russ Johnson
| http://www.dimstar.net
|
|
| Nostalgia isn’t what it used to be
|
|
|
| _______________________________________________
| rt-users mailing list
| rt-users@lists.fsck.com
| http://lists.fsck.com/mailman/listinfo/rt-users
|
|

Hm.

I see your point, but when under the users tab it lists all of the other users listed, which could leave the system open to a brute force on the administrators (or anyone else’s, for that matter) password. It would make more sense for there to be a completely separate Configuration link used for users that don’t have access to change queues / users / etc.

These menu’s seem to give regular users to data and information that I would definitely deem to be private, and, if nothing else, just don’t think its suitable for users on my system to see it.

Anyone know of a method to do this?

alan evettsOn Thu, Apr 11, 2002 at 11:35:43AM -0700, Russ Johnson wrote:

You may not want to, and I don’t think you can. They need to be able to get
in there to change their passwords.

At 11:07 AM 4/11/2002 -0700, alan evetts wrote:

Hello,

I apologize if this has been covered before, I tried to find the answer in
the mailing list archives - but was unable.

I was just wondering if there was a way through permissions / acls / etc
to stop regular users from seeing the “Configuration” link at the top of
the home page / search page, or if you have to manually hide that? I’m
pretty confident I haven’t done anything to strange to my RT installation
yet, as it’s pretty fresh - but haven’t been able to find a method to hide
it.

Any help is greatly appreciated.

Running Version: 2.0.13, in case thats relevant.


alan evetts


rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

Russ Johnson
http://www.dimstar.net

Nostalgia isn’t what it used to be


rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

OK, I’m confused.

Pardon me…

At 02:46 PM 4/11/2002 -0400, timuel wrote:

yea you can. comment out the link in $RT/Elements/Tabs and tell your
“admin type people” to just go directly to
http://wherever.yourdomain.com/Admin/ in order to make changes.

I also didnt like the idea of flaunting things that people didnt have
access to modify anyway…

|> You may not want to, and I don’t think you can. They need to be able to
get
|> in there to change their passwords.

If you want to give them the ability to do so, can`t you simply give them
the rights and let them use the “preferences” link in $RT/Elements/Header?


timuel

----- Original Message -----
From: “Russ Johnson” russj@dimstar.net
To: rt-users@lists.fsck.com
Sent: Thursday, April 11, 2002 2:35 PM
Subject: Re: [rt-users] How to hide Configuration Tab ?

| You may not want to, and I don’t think you can. They need to be able to get
| in there to change their passwords.
|
| At 11:07 AM 4/11/2002 -0700, alan evetts wrote:
| >Hello,
| >
| >I apoligize if this has been covered before, I tried to find the answer in
| >the mailing list archives - but was unable.
| >
| >I was just wondering if there was a way through permissions / acls / etc
| >to stop regular users from seeing the “Configuration” link at the top of
| >the home page / search page, or if you have to manually hide that? I’m
| >pretty confident I haven’t done anything to strange to my RT installation
| >yet, as it’s pretty fresh - but haven’t been able to find a method to
hide it.
| >
| >Any help is greatly appreciated.
| >
| >
| >Running Version: 2.0.13, in case thats relevant.
| >
| >–
| >alan evetts
| >
| >_______________________________________________
| >rt-users mailing list
| >rt-users@lists.fsck.com
| >http://lists.fsck.com/mailman/listinfo/rt-users
|
| Russ Johnson
| http://www.dimstar.net
|
|
| Nostalgia isn’t what it used to be
|
|
|
| _______________________________________________
| rt-users mailing list
| rt-users@lists.fsck.com
| http://lists.fsck.com/mailman/listinfo/rt-users
|
|


rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

Russ Johnson

Nostalgia isn’t what it used to be

Ah perfect. Just what I was looking for. I try to keep things simple for those just answering the queues :slight_smile:

Thanks a bunch,

alan evettsOn Thu, Apr 11, 2002 at 02:46:37PM -0400, timuel wrote:

yea you can. comment out the link in $RT/Elements/Tabs and tell your “admin type people” to just go directly to http://wherever.yourdomain.com/Admin/ in order to make changes.

I also didnt like the idea of flaunting things that people didnt have access to modify anyway…

|> You may not want to, and I don’t think you can. They need to be able to get
|> in there to change their passwords.

If you want to give them the ability to do so, can`t you simply give them the rights and let them use the “preferences” link in $RT/Elements/Header?


timuel

----- Original Message -----
From: “Russ Johnson” russj@dimstar.net
To: rt-users@lists.fsck.com
Sent: Thursday, April 11, 2002 2:35 PM
Subject: Re: [rt-users] How to hide Configuration Tab ?

| You may not want to, and I don’t think you can. They need to be able to get
| in there to change their passwords.
|
| At 11:07 AM 4/11/2002 -0700, alan evetts wrote:
| >Hello,
| >
| >I apoligize if this has been covered before, I tried to find the answer in
| >the mailing list archives - but was unable.
| >
| >I was just wondering if there was a way through permissions / acls / etc
| >to stop regular users from seeing the “Configuration” link at the top of
| >the home page / search page, or if you have to manually hide that? I’m
| >pretty confident I haven’t done anything to strange to my RT installation
| >yet, as it’s pretty fresh - but haven’t been able to find a method to hide it.
| >
| >Any help is greatly appreciated.
| >
| >
| >Running Version: 2.0.13, in case thats relevant.
| >
| >–
| >alan evetts
| >
| >_______________________________________________
| >rt-users mailing list
| >rt-users@lists.fsck.com
| >http://lists.fsck.com/mailman/listinfo/rt-users
|
| Russ Johnson
| http://www.dimstar.net
|
|
| Nostalgia isn’t what it used to be
|
|
|
| _______________________________________________
| rt-users mailing list
| rt-users@lists.fsck.com
| http://lists.fsck.com/mailman/listinfo/rt-users
|
|


rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

One other way is to add some logic to $RT/Elements/Tabs. I added this to our install,

my $toptabs;
if ($session{‘CurrentUser’}->Name eq ‘root’){
$toptabs = {
A => { title => ‘Home’,
path => ‘’,
},
B => { title => ‘Search’,
path => ‘Search/Listing.html’
},

                    D => { title => 'Configuration',
                            path => 'Admin/'
                    }
                   };

} else {
$toptabs = {
A => { title => ‘Home’,
path => ‘’,
},
B => { title => ‘Search’,
path => ‘Search/Listing.html’
}
};
}

This will hide the link from all users unless you are root. I’m not the best perl guru so if there are errors…let me know.
I’d like to add a @admins array to this ie @admins = qw( root user_1 user_2 etc…) so that I can give superuser rights to a user
and add there login to the list any ideas?

Greg
Greg Dickerson
Support Manager
O’Reilly & Associates, Inc.
1005 Gravenstein Highway North
Sebastopol, CA 95472
Phone:(707)827-7215From: “alan evetts” alan@silent5.com
To: rt-users@lists.fsck.com
Cc: “timuel” timwese@voicenet.com
Sent: Thursday, April 11, 2002 1:56 PM
Subject: Re: [rt-users] How to hide Configuration Tab ?

Ah perfect. Just what I was looking for. I try to keep things simple for those just answering the queues :slight_smile:

Thanks a bunch,


alan evetts

yea you can. comment out the link in $RT/Elements/Tabs and tell your “admin type people” to just go directly to
http://wherever.yourdomain.com/Admin/ in order to make changes.

I also didnt like the idea of flaunting things that people didnt have access to modify anyway…

|> You may not want to, and I don’t think you can. They need to be able to get
|> in there to change their passwords.

If you want to give them the ability to do so, can`t you simply give them the rights and let them use the “preferences” link in
$RT/Elements/Header?


timuel

----- Original Message -----
From: “Russ Johnson” russj@dimstar.net
To: rt-users@lists.fsck.com
Sent: Thursday, April 11, 2002 2:35 PM
Subject: Re: [rt-users] How to hide Configuration Tab ?

| You may not want to, and I don’t think you can. They need to be able to get
| in there to change their passwords.
|
| At 11:07 AM 4/11/2002 -0700, alan evetts wrote:
| >Hello,
| >
| >I apoligize if this has been covered before, I tried to find the answer in
| >the mailing list archives - but was unable.
| >
| >I was just wondering if there was a way through permissions / acls / etc
| >to stop regular users from seeing the “Configuration” link at the top of
| >the home page / search page, or if you have to manually hide that? I’m
| >pretty confident I haven’t done anything to strange to my RT installation
| >yet, as it’s pretty fresh - but haven’t been able to find a method to hide it.
| >
| >Any help is greatly appreciated.
| >
| >
| >Running Version: 2.0.13, in case thats relevant.
| >
| >–
| >alan evetts
| >
| >_______________________________________________
| >rt-users mailing list
| >rt-users@lists.fsck.com
| >http://lists.fsck.com/mailman/listinfo/rt-users
|
| Russ Johnson
| http://www.dimstar.net
|
|
| Nostalgia isn’t what it used to be
|
|
|
| _______________________________________________
| rt-users mailing list
| rt-users@lists.fsck.com
| http://lists.fsck.com/mailman/listinfo/rt-users
|
|


rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users


rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

One way to do what you want would be to replace your if clause with this
one:

if ($session{‘CurrentUser’}->HasSystemRight({ Right => ‘SuperUser’ })){

That will give everyone who has the “SuperUser” right a Configuration tab,
and no one else.

Marc Hedlund
e: marc at precipice dot orgOn Thu, 11 Apr 2002, Greg Dickerson wrote:

One other way is to add some logic to $RT/Elements/Tabs. I added this to our install,

my $toptabs;
if ($session{‘CurrentUser’}->Name eq ‘root’){
$toptabs = {
A => { title => ‘Home’,
path => ‘’,
},
B => { title => ‘Search’,
path => ‘Search/Listing.html’
},

                    D => { title => 'Configuration',
                            path => 'Admin/'
                    }
                   };

} else {
$toptabs = {
A => { title => ‘Home’,
path => ‘’,
},
B => { title => ‘Search’,
path => ‘Search/Listing.html’
}
};
}

This will hide the link from all users unless you are root. I’m not the best perl guru so if there are errors…let me know.
I’d like to add a @admins array to this ie @admins = qw( root user_1 user_2 etc…) so that I can give superuser rights to a user
and add there login to the list any ideas?

Greg

Greg Dickerson
Support Manager
O’Reilly & Associates, Inc.
1005 Gravenstein Highway North
Sebastopol, CA 95472
Phone:(707)827-7215

----- Original Message -----
From: “alan evetts” alan@silent5.com
To: rt-users@lists.fsck.com
Cc: “timuel” timwese@voicenet.com
Sent: Thursday, April 11, 2002 1:56 PM
Subject: Re: [rt-users] How to hide Configuration Tab ?

Ah perfect. Just what I was looking for. I try to keep things simple for those just answering the queues :slight_smile:

Thanks a bunch,


alan evetts

On Thu, Apr 11, 2002 at 02:46:37PM -0400, timuel wrote:

yea you can. comment out the link in $RT/Elements/Tabs and tell your “admin type people” to just go directly to
http://wherever.yourdomain.com/Admin/ in order to make changes.

I also didnt like the idea of flaunting things that people didnt have access to modify anyway…

|> You may not want to, and I don’t think you can. They need to be able to get
|> in there to change their passwords.

If you want to give them the ability to do so, can`t you simply give them the rights and let them use the “preferences” link in
$RT/Elements/Header?


timuel

----- Original Message -----
From: “Russ Johnson” russj@dimstar.net
To: rt-users@lists.fsck.com
Sent: Thursday, April 11, 2002 2:35 PM
Subject: Re: [rt-users] How to hide Configuration Tab ?

| You may not want to, and I don’t think you can. They need to be able to get
| in there to change their passwords.
|
| At 11:07 AM 4/11/2002 -0700, alan evetts wrote:
| >Hello,
| >
| >I apoligize if this has been covered before, I tried to find the answer in
| >the mailing list archives - but was unable.
| >
| >I was just wondering if there was a way through permissions / acls / etc
| >to stop regular users from seeing the “Configuration” link at the top of
| >the home page / search page, or if you have to manually hide that? I’m
| >pretty confident I haven’t done anything to strange to my RT installation
| >yet, as it’s pretty fresh - but haven’t been able to find a method to hide it.
| >
| >Any help is greatly appreciated.
| >
| >
| >Running Version: 2.0.13, in case thats relevant.
| >
| >–
| >alan evetts
| >
| >_______________________________________________
| >rt-users mailing list
| >rt-users@lists.fsck.com
| >http://lists.fsck.com/mailman/listinfo/rt-users
|
| Russ Johnson
| http://www.dimstar.net
|
|
| Nostalgia isn’t what it used to be
|
|
|
| _______________________________________________
| rt-users mailing list
| rt-users@lists.fsck.com
| http://lists.fsck.com/mailman/listinfo/rt-users
|
|


rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users


rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users


rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

Greg Dickerson wrote:

One other way is to add some logic to $RT/Elements/Tabs. I added this to our install,

my $toptabs;
if ($session{‘CurrentUser’}->Name eq ‘root’){
$toptabs = {
You could also test against the user’s rights:

if ($session{‘CurrentUser’}->HasSystemRight(‘AdminUsers’))

Then Your Admin users can have non standard names.

[snip]

                   };

} else {

[snip]

Regards,
Harald

PS: folks, please trim Your replies! The mail I’m answering was one
third the automatically generated mailing list signature. - H.

Harald WagenerAn der Alster 4220099 Hamburg*http://www.fcb-wilkens.com

Greg Dickerson wrote:

One other way is to add some logic to $RT/Elements/Tabs. I added this to
our install,

my $toptabs;
if ($session{‘CurrentUser’}->Name eq ‘root’){
$toptabs = {
You could also test against the user’s rights:

if ($session{‘CurrentUser’}->HasSystemRight(‘AdminUsers’))

Then Your Admin users can have non standard names.

[snip]

                  };

} else {

[snip]

I am following on this thread but I can’t seem to figure out howto change
my Tabs :wink:

-Wash

Odhiambo Washington wash@wananchi.com “The box said ‘Requires
Wananchi Online Ltd. www.wananchi.com Windows 95, NT, or better,’
Tel: 254 2 313985-9 Fax: 254 2 313922 so I installed FreeBSD.”
GSM: 254 72 743 223 GSM: 254 733 744 121 This sig is McQ! :slight_smile:
There is no substitute for good manners, except, perhaps, fast
reflexes.