diff --git a/embargo.services.yml b/embargo.services.yml index c70365d..4bcd728 100644 --- a/embargo.services.yml +++ b/embargo.services.yml @@ -63,7 +63,7 @@ services: tags: - { name: 'event_subscriber' } cache_context.user.embargo__has_exemption: - class: Drupal\embargo\Cache\Context\IpRangeCacheContext + class: Drupal\embargo\Cache\Context\UserExemptedCacheContext arguments: - '@current_user' - '@entity_type.manager'