change platform staff
This commit is contained in:
parent
3197f64d09
commit
319bed3dfc
@ -22,7 +22,7 @@ class Experiment(models.Model):
|
||||
return 0
|
||||
if self.condition == 'user.is_superuser':
|
||||
return 1
|
||||
if self.condition == 'user.is_staff':
|
||||
if self.condition == 'user.platform_staff':
|
||||
return 2
|
||||
if self.condition == 'True':
|
||||
return 3
|
||||
|
Loading…
Reference in New Issue
Block a user