Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Request Tracker: Devel

Selfservice Prefs

 

 

Request Tracker devel RSS feed   Index | Next | Previous | View Threaded


otdmunka at gmail

Apr 2, 2009, 7:22 AM

Post #1 of 1 (754 views)
Permalink
Selfservice Prefs

Hi, I recently made the following modification in RT (3.82):
Where:
On the selfservice interface for unprivileged users you can enable the
modify self right.
When you do this you only give the ability to modify the users password.
Why:
For us this was not enough.
What:
Copied the Prefs.html from /html/User/ to /html/SelfService
updated the file like this:

%# Modded from orig
%#<& /Elements/Header, Title=>loc("Preferences") &>
%#<& /User/Elements/Tabs,
%# current_tab => 'SelfService/Prefs.html',
%# Title=>loc("Preferences") &>
%#<& /Elements/ListActions, actions => \@results &>
%# to:
<& /SelfService/Elements/Header, Title => loc('Preferences') &>

<& /Elements/ListActions, actions => \@results &>


%# Modded from orig
%#<form action="<%RT->Config->Get('WebPath')%>/User/Prefs.html"
method="post">
%# to:
<form action="<%RT->Config->Get('WebPath')%>/SelfService/Prefs.html"
method="post">
<input type="hidden" class="hidden" name="id" value="<%$UserObj->Id%>" />

<table width="100%" border="0">
<tr>
----rest unchanged----

No issues yet, works like a charm.
But i do have my concerns, i'm new to this system and i would like your
opinion about this.

Thanks =)
Cheers,
Daniel

Request Tracker devel RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.