I created a feature
The feature has a role
The role has a create node permission
When I enable the feature, the role is created. I do have to manually enable the role per person (which is fine and expected).

But when I disable a feature, I would expect that the role associated with that feature would disappear.
And when re-enabled those who had the feature should still have it.

Right now, the role does not go away.

Comments

alexweber’s picture

hefox’s picture

Version: 6.x-1.2 » 7.x-1.x-dev
Category: bug » feature

Current expected behaviour for soft exportables.

There's no disable column in roles table, so there's no way features can disable the role without core hacks. If it deleted it, it'd delete the role id, leading to potential data loss, which disable is not suppose to do, etc.

I don't think there's anything features can do in this case.

hefox’s picture

Issue summary: View changes
Status: Active » Closed (won't fix)

Been a while, no work, not pursueing. Purge patch likely will take care of it if that ever lands