Description of the need
The ability to assign roles was added to core in backdrop, replacing the need for the Assign roles module.
In Drupal 7, the "assign roles" module had a setting to define which roles could be assigned. This made it possible to grant someone the permission to Assign roles without allowing themselves to increase their own role beyond what was indented.
I would love to see this setting in Backdrop, with the Administrative role initially excluded. This would make for a safer set-up out-of-the box.
Proposed solution
Add a setting for roles that are allowed to be assigned.
Alternatives that have been considered
Port the assign roles module, and have it include only the setting (since the feature has been added to core)
Additional information
We initially created this as a security issue, since it has security implications. However, since the permission is no more dangerous than "Administer users" -- which was the only way people could assign roles before this feature was added, we decided to move the PR to the public queue for more reviews.
Recent comments
As I work through things I flush the caches after every change I make. As far as I can tell I have the custom module in the correct place (/modules/custom/fix_zero_search) and the file...
custom module not showing up in modules list
If you haven't already, flush all the caches. If it is in the modules folder whether directly or in a custom folder it will show up. If not, something else is wrong with your site; check...
custom module not showing up in modules list
Awful idea! That's not how modules get installed! The number in db indicates the installed state and schema version. You're not supposed to fiddle in the database directly. There's an...
custom module not showing up in modules list