change condition
This commit is contained in:
parent
4bfc6c2f22
commit
3197f64d09
@ -38,7 +38,7 @@ class ExperimentsView(BaseView):
|
||||
elif condition == 'Только админам':
|
||||
exp.condition = 'user.is_superuser'
|
||||
elif condition == 'Только сотрудникам':
|
||||
exp.condition = 'user.is_staff'
|
||||
exp.condition = 'user.platform_staff'
|
||||
else:
|
||||
exp.condition = 'True'
|
||||
exp.save()
|
||||
|
Loading…
Reference in New Issue
Block a user