When you click set "User Permissions " for any user, User Permissions will newborn a stange user role, looks like :_user_role_* (*=uid)

Warning: The bug is: you cannot delete the role what generated by User Permissions module, and the important problem: you can not find the new role in drupal sysytem role lists.

Is that mean: the User Permissions module generated roles will beyond drupal-roles-control-core!

Comments

preventingchaos’s picture

Assigned: » preventingchaos
Status: Active » Closed (works as designed)

This is how the system is designed to work and is not a bug. The User Permissions contrib module automatically manages these roles behind the scenes. When you use this module to give a user extra permissions, it will automatically create a role. It will automatically delete the role when all permissions for a user on their User Permissions page are removed, or when the module is uninstalled.