When a user's role changes, the grants are not updated until permissions are rebuilt. This has security implications, as administrators may not understand that permissions need to rebuilt after a role has been given or taken away.
Expected result:
#5: "Article" accessible.
#7: "Article" not accessible.
#9: "Article" not accessible.
#11 "Article" accessible.
#13 "Article" accessible.
Actual result:
#5: "Article" accessible.
#7: "Article" accessible.
#9: "Article" not accessible.
#11: "Article" not accessible.
#13 "Article" accessible.
This bug was also in the branch for Drupal 7, see 🐛 "content_access_author" grant does not react to role changes Fixed . There is a patch to be ported.
Fixed
2.0
Code