Add Insights permission and remove useless APIs

This commit is contained in:
2022-08-26 07:20:30 +01:00
parent 0e7fb8d261
commit c748745426
4 changed files with 25 additions and 30 deletions

View File

@@ -113,6 +113,7 @@ class Perms(models.Model):
("post_irc", "Can post to IRC"),
("post_discord", "Can post to Discord"),
("query_search", "Can search with query strings"),
("use_insights", "Can use the Insights page"),
("index_int", "Can use the internal index"),
("index_meta", "Can use the meta index"),
)