In the UI, I have not checked any roles in the Allowed Roles section, but I added some aliases "for later use". Saving this takes me to the rebuild permissions page (even tho I didn't change any of the grant info) but... the aliases are not saved.

This is not good. It's perfectly reasonable that I would want to uncheck and then recheck these options as the site changes. Not saving the aliases here is a great way to get into a mess.

I suspect that there's some simple conditional check in the code to see if the role has been assigned, which controls whether or not the alias gets saved, but IMO it should be saved unconditionally.

Comments

vlad.pavlovic’s picture

Issue summary: View changes
Status: Active » Fixed

I will shortly push to dev a fix that will save your alias (if one is specified) for roles that are disabled. Thanks.

vlad.pavlovic’s picture

Version: 6.x-1.3 » 7.x-1.x-dev

Also done the same for Drupal 7 version.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.