Discourse Meta
Rails command to mass promote users to TL2?
Development
rails-console
Canapin
(Coin-coin le Canapin)
April 25, 2020, 9:25am
2
Maybe:
users = User.where('admin = false') users.update_all(trust_level: 2)
show post in topic
Related topics
Topic
Replies
Views
Activity
Promoting users to TL2 when joining a group - retrospectively?
Product Support
11
752
February 26, 2023
How do I promote all users to trust level 1?
Product Support
trust-levels
6
1743
March 19, 2020
Mass promotion to TL2 via manual command?
Product Support
3
761
April 20, 2020
User isn't promoted to TL2
Product Support
13
1351
December 15, 2020
Self Hosted Reassess trust levels
Product Support
1
92
September 18, 2024