- cookie_value = request.COOKIES.get(f'EXPERIMENT_{slug}')
- if cookie_value is not None:
- if cookie_value == 'on':
- return True
- elif cookie_value == 'off':
- return False
+ if self.switchable or request.user.is_staff:
+ cookie_value = request.COOKIES.get(f'EXPERIMENT_{slug}')
+ if cookie_value is not None:
+ if cookie_value == 'on':
+ return True, True
+ elif cookie_value == 'off':
+ return False, True