Add more fine-grained permissions to rules

This commit is contained in:
2023-02-02 19:08:10 +00:00
parent 0cbd2d8a6f
commit 97e932cbae
3 changed files with 34 additions and 0 deletions

View File

@@ -165,6 +165,8 @@ class Perms(models.Model):
("post_discord", "Can post to Discord"),
("use_insights", "Can use the Insights page"),
("use_rules", "Can use the Rules page"),
("rules_scheduled", "Can use the scheduled rules"),
("rules_high_frequency", "Can use the high frequency rules"),
("index_internal", "Can use the internal index"),
("index_meta", "Can use the meta index"),
("index_restricted", "Can use the restricted index"),