- Issue created by @jaydenpearly
- π¦πΊAustralia pameeela
I've just hit this issue on a site. We uninstalled EB and switched to media library. Any role that contained EB permissions was deleted and recreated on config import, which meant that any users who had the role lost it.
I haven't investigated yet but sounds similar to π Roles can be deleted when upgrading from 9.5 to 10 if a module had removed permissions Active ? Although in this case it wasn't removing non-existent permissions. The previously granted permissions are valid, they just are for a module that is uninstalled.
- π¦πΊAustralia pameeela
On trying to reproduce from scratch, I did get a warning that the role would be deleted:
So maybe I ignored the warning on the first pass.
- πΊπΈUnited States Chris Matthews
Also running into this issue and wondering if anyone has found a workaround. Thanks.
- π¦πΊAustralia pameeela
@chris matthews the workaround would be to remove the permission(s) from the role before you uninstall the module.
- π¦πΊAustralia pameeela
Just tried to reproduce this on 11.x but I can't. On uninstall it updates the role config rather than deleting it.
Steps:
- Install EB
- Create a new EB
- Grant permission to authenticated role to use new EB
- Uninstall module
- See warning that role config will be updated