[rt-devel] Removing the 'Configure' menu, how to?

Weslee weslee at dtiserv2.com
Mon Jul 28 14:36:23 EDT 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

Wasn't sure if I should send this to users, or devel, but since its a
code question, I figured Devel.

I'm trying to remove access to the Configure option from the menu unless
a user has the 'SuperUser' permission.

I found Elements/Tabs, but it just removes the option from showing.

Any pointers on what file to edit, and what object I can use to either
run obj->CurrentUserHasRights, or obj->CurrentUser->HasRights?

I know perl, I'm just not familiar with Mason.

Thanks,

Weslee
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQE/JW0n7F6oZZiM7dIRAlq2AKCkHn3BV5ELpA8qopwl8BwP9m6qZwCgqoI2
bZ3mhBm5zThMzVaqmZYmBDE=
=bSWE
-----END PGP SIGNATURE-----




More information about the Rt-devel mailing list