Skip to main content
Tweeted twitter.com/StackDrupal/status/1039891761957666822
added 163 characters in body; edited tags; edited title
Source Link
Pierre.Vriens
  • 36k
  • 40
  • 50
  • 182

Drupal 8: Role Expire How to make a user role expire after 1 year?

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

Drupal 8: Role Expire after 1 year

I'm looking for a way to make a user role expire after 1 year. In drupal 7 there is the Expire Role module and I found this post using rules https://www.drupal.org/node/1228560 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 commerce product when payed, he 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 a push in the right way.

Thanks in advance

How to make a user role expire after 1 year?

I'm looking for a way to make a user role expire after 1 year. In Drupal 7 there is the Role Expire module. I found this post using 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 Commerce product when payed, the 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.

Source Link
Joost
  • 1.4k
  • 1
  • 17
  • 41

Drupal 8: Role Expire after 1 year

I'm looking for a way to make a user role expire after 1 year. In drupal 7 there is the Expire Role module and I found this post using rules https://www.drupal.org/node/1228560 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 commerce product when payed, he 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 a push in the right way.

Thanks in advance