mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 15:17:25 +01:00
add new permission for managing blockers
This commit is contained in:
@@ -224,6 +224,7 @@ export const UserSchema = new Schema({
|
||||
userSupport: Boolean, // access User Support feature in Admin Panel
|
||||
challengeAdmin: Boolean, // Can manage and administrate challenges
|
||||
moderator: Boolean, // Can ban, flag users and manage social spaces
|
||||
accessControl: Boolean, // Can manage IP and client blockers
|
||||
coupons: Boolean, // Can generate and request coupons
|
||||
},
|
||||
balance: { $type: Number, default: 0 },
|
||||
|
||||
Reference in New Issue
Block a user