Project

General

Profile

How lock user profile ?

Added by christophe czaban about 13 years ago

Hi everybody,

sorry for the spelling i'm french ^^.

I want now if it's possible to lock the user's profile, or at least the email notification configuration.
I don't want that the users change this profile parameter.

Thanks.

Tof


Replies (4)

RE: How lock user profile ? - Added by Felix Schäfer about 13 years ago

christophe czaban wrote:

I want now if it's possible to lock the user's profile, or at least the email notification configuration.

Prevent users from changing their settings? Not possible.

Il est impossible d'empêcher les utilisateurs de changer leurs préférences, désolé.

RE: How lock user profile ? - Added by christophe czaban about 13 years ago

I find a workaround solution for this, but i have to test it.
I will use apache configuration to block /redmine/my/account web page for all users except my team coworkers.

This is radical solution but i think the could be fine ^^

Thanks for help.

Tof

RE: How lock user profile ? - Added by Etienne Massip about 13 years ago

Felix Schäfer wrote:

christophe czaban wrote:

I want now if it's possible to lock the user's profile, or at least the email notification configuration.

Prevent users from changing their settings? Not possible.

Il est impossible d'empêcher les utilisateurs de changer leurs préférences, désolé.

Damn, you're polyglotte !

RE: How lock user profile ? - Added by christophe czaban about 13 years ago

Hi,

I haven't tested yet the first workaround with apache, but i have find second workaround with redmine rhtml files.
I have removed this section of "Program Files\BitNami Redmine Stack\apps\redmine\app\views\my\account.rhtml", a reboot of apache is necessary.

<h3><%=l(:field_mail_notification)%></h3>
<div class="box">
<%= render :partial => 'users/mail_notifications' %>
</div>

this removes the email notification section in "my account" web page, however it's still available in Administration => users section for the administrator of RedMine.

Now i will try the apache workaround, this will be cleaner and don't modify the rhtml files.

Tof.

    (1-4/4)