In admin/people/permissions I checked the boxes next to the "Cancel own user account" and "Select method for canceling own account" but in the user profile (user/NID/edit) the Cancel account button is not present. Why? What could I have forgotten?

I have assigned the right role.

Thank You.

  • By default the user only has to have that cancel permission to cancel their own account or administer users to cancel other peoples accounts. If you have profile 2 module or similar installed then the cancel button will only appear on the main account page, not other profile pages. Do you have any other user permission related modules installed?
    – rooby
    Feb 17 '16 at 23:11
  • Make sure you are not using user 1, because you can't cancel user 1.
  • Clear caches after changing permissions.

Update: Check for any modules you have which may affect Permissions. In this case Administer Users by Role may be lacking some permissions that you need to set.

  • I not using user 1, I have created a new user with a new role.
    – kb8
    Feb 17 '16 at 23:06
  • So let's say you have user2 with the role 'admin'. 'admin' has "Cancel own user account" and "Select method for canceling own account" checked? Did you clear cache? Feb 17 '16 at 23:09
  • I created a new role named editor. Created a new account and assign editor as role. Assigned at editor the permissions: "Cancel own user account" and "Select method for canceling own account" But this user can't cancel the account. The button "Cancel account" is not present.
    – kb8
    Feb 17 '16 at 23:14
  • Ok I followed your process step by step on my sandbox vanilla D7 install and can still see the Cancel account. Do you have any other modules set up that affects permissions? Feb 17 '16 at 23:19
  • Administer Users by Role, Field Permissions, Role Assign, Profile2
    – kb8
    Feb 17 '16 at 23:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.