{NEED|$user_information}
{IF|$user_information.name ne $current_user.name}
{NEED_PERMISSION|profile_modify}
{IF|$current_user.tempgroup <= $user_information.group}
{ERROR|profile_nopermission}
{ENDIF}
{ELSE}
{NEED|$environment}
{ENDIF}