I'm looking for a way to make a user role expire after 1 year. In drupalDrupal 7 there is the Expire RoleRole Expire module and. I found this post using rules https://www.drupal.org/node/1228560this post butusing the Rules module. But I can't seem to figure out how to do this in Drupal 8.
More specific, what I want is for a user to buy a commerceCommerce product when payed, hethe user gets a user role to read articles behind a paywall. This role should be active for a year.
The only option I found is building a custom module but I want to try and find an other to do this first. Hope someone can help with a good suggestion or a push in the right way.
Thanks in advance