chore: add team group check

This commit is contained in:
Tienson Qin
2024-12-02 13:20:05 +08:00
parent 30e17e8f6e
commit 60b723a975
4 changed files with 9 additions and 4 deletions

View File

@@ -264,6 +264,10 @@
;;; user groups
(defn team-member?
[]
(contains? (state/user-groups) "team"))
(defn alpha-user?
[]
(or config/dev?