:s/moderator?/staff/g ... our naming was kind of crazy, renamed moderator? to staff
This commit is contained in:
@@ -13,7 +13,7 @@ Discourse.UserController = Discourse.ObjectController.extend({
|
||||
}).property('content.username', 'Discourse.currentUser.username'),
|
||||
|
||||
canSeePrivateMessages: (function() {
|
||||
return this.get('viewingSelf') || Discourse.get('currentUser.moderator');
|
||||
return this.get('viewingSelf') || Discourse.get('currentUser.staff');
|
||||
}).property('viewingSelf', 'Discourse.currentUser')
|
||||
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user