I've just found out your module blocks users from edit users roles once is enabled. If I disable your module then I can edit users roles again. This problem doesn't affect user creation: If you create a new user doesn't mind if this module is enabled or not, you can assign roles to users as usual. Also, the problem doesn't affect drupal's admin user.

Comments

rcodina’s picture

Issue summary: View changes
rcodina’s picture

Is this issue related to this one?

rcodina’s picture

Issue summary: View changes
brice_gato’s picture

With subfolders_domain module, user roles are managed from user/USER_ID/subfolders-domain-roles
Take a look on README.txt file (is the last point number 8)

rcodina’s picture

Ok, but the roles that my users have in "admin/people" aren't shown in this module's "user/USER_ID/subfolders-domain-roles". All checkbox are unchecked, so I guess this is a bug of this module. All users had their roles assigned previous to this module enabling.

brice_gato’s picture

No is not a bug. All nativ roles (from admin/people) are overridden (unchecked).

rcodina’s picture

Could your module load native roles assign for each user? (when module is enabled or/and have an option to import it)

brice_gato’s picture

This feature does not exist yet.

rcodina’s picture

Will this module get this feature at some point? I think it will be a great feature because most times when you build a multi domain site you usually don't start the web from scratch: you already have users with their roles.