Hi,

I have installed this module before and I just noticed now that the user email editing constraint is not working.

I have set the default settings to protect email edits. I have also set the authenticated user role to disable email editing.

However, when I try to edit a user account ( logging in using a non-admin account ) - I see the user email field still editable ( it is marked as required ).

What is the problem? I have tested this on multiple systems using Drupal 6. Email protection was working before - but now, it is not working anymore.

My current setup is:
User Protect 6.14
Drupal 6.19 ( I also tried it on a system with Drupal 6.15 installed )
Apache 2
Mysql 5
PHP 5

Comments

hunmonk’s picture

Status: Active » Postponed (maintainer needs more info)

please try disabling all other contributed modules and see if the problem still persists.

h3000’s picture

hi,

I tried installing it on a basic installation of Drupal 6 with no other contrib modules installed. the problem is still there. I created a new user account (non admin) and then set the protection defaults to protect email editing and then tried changing the email address when logged in as the non-admin user. I was still able to change the email address.

The following are the details of the new setup:
Drupal 6.19 (basic installation)
Only Core modules enabled
User Protect 6.x-1.4

Thanks.

hunmonk’s picture

Status: Postponed (maintainer needs more info) » Fixed

are you trying to edit the email as a user admin, or as the user themselves? the user is able to edit their own email unless the userprotect permission 'change own e-mail' is disabled.

pretty sure this is your issue. feel free to reopen if not.

h3000’s picture

that was it. its working now.

thanks!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.