Richard Yale answered a previous question about turning off the ability for a user to change his/her own password by recommending I edit the <confluence_home>\confluence\users\changemypassword.vm file as described here to achieve my goal.
Since I'm new to velocity, I was wondering if anyone can tell me if by using vm files, it is possible to conditionally show/hide the ability to reset your password based on the currently logged in user.
For example, can I do something like the following:
If LoggedInUser is
Fred
Then
Don't let him change password.
Else
Let him change password.
EndIf.
Any idea if this type of logic is possible in the vm files. (It's all new to me...)