Installed accounttypes-5.x-1.0 in order to simplify user administration.
Default account type is "registered" (one role only: authenticated user)
I can add a new user, change accnt type to "member" (auth user + member), and set role to "member"
However if I try to do the same on existing user (accnt type "none", role "member") I get the following error msg:
* Failed to delete invalid roles upon account type update.
* Account Type update was unsuccessful
am I missing something?
Thank you for providing this module.

Comments

rconstantine’s picture

I'll check this out too. Thanks for the feedback. I'm going to need this working 100% by the time my overall project is done, so I appreciate you finding bugs.

rconstantine’s picture

Assigned: Unassigned » rconstantine
Category: support » bug
Status: Active » Fixed

is fixed, so look for the new release soon.

rconstantine’s picture

To fix existing users I added two things. Although they are mentioned in the README, I'll explain here as well.

First, if you want to go user-by-user to make sure existing roles are honored, setup the account types necessary to maintain those roles, then, edit the user as you tried before. Now, when you save a user with account type == none, it will save as you expect.

Second, if you want to make all existing users have the default account type, there is a new tab made just for that. I don't recall exactly what I called it, but clicking it presents you with a single button to click in confirmation. I shut down my IDE, but I think that this method leaves roles untouched - i.e. you still have to make sure each user's roles are okay. (Hmm, or did I reset the roles?) In this case, you can adjust users on the multiple-user edit page (add/delete roles).

Come to think of it, you should also be able to assign account types to existing users via the multi-user edit page as well (admin/user/user?).

If you have any questions, let me know.

Anonymous’s picture

Status: Fixed » Closed (fixed)