An automatic group of group owners

Is there a way to have an automatic group which contains all group owners, in much the same way as @staff works?

I’d like to make all my group owners TL2, and to keep track of them as my site (hopefully) grows quickly. Also I want to change their powers as a group as time goes on, as well as communicate with them and have a category for them. I don’t want to make them all mods as they aren’t ready for that.

In the meantime, I can do this manually; however as our tightly managed Forum grows an automatic group would become more and more helpful.

Alternatively, how hard would this be to do as a plugin?

「いいね!」 7

グループオーナーを特定するために、Creating triggered custom badge queries を実装しました。

SQLはここにあります(Data Explorerでも使用できます)

SELECT DISTINCT user_id, owner, CURRENT_TIMESTAMP granted_at
FROM group_users
WHERE group_users.owner = true

データベースにグループオーナーシップの便利なタイムスタンプがないため、CURRENT_TIMESTAMP を使用しています。便利なトリガーもないため、:backfill は省略できます。

この設定を提案します。

  1. 剥奪クエリを毎日実行します。
  2. トリガー:毎日更新
  3. 「複数回付与可能」については確信がありません。クエリはユーザーごとに1回しか実行されないため、複数回付与されることはありません。しかし、剥奪後に再度バッジを付与するために必要になるかもしれませんが、確信はありません。
「いいね!」 4