- Issue created by @sepa_cleversoft
When you have more than one license active for an user (with granted date of the second one after the expre date of the first), when the first expires, the role is removed even when the second license become granted. The license role is disabled and checked in user edit, but not really assigned. The role is not present in "people" page.
- Create two active licenses for the same user, one granted for example for one day, starting from now, and the other with granted date one day after the expire date of the first license.
- The license role is assigned to user
- Wait until the first license expires
- The license role is correctly removed from user
- Wait until second license is granted
- Check that the role SEEMS to be re-assigned if you go to user/edit page (the license role is grey and checked), but the role is not really assigned (you can check it in people view, or programmatically doing a USER::hasRole).
Adopt a more consistent way to assign or remove roles to user.
Active
3.0
Code