mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-24 23:48:13 -05:00
parent
89a2f4d246
commit
19c3a5c023
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ UsersIndexRoute = AuthenticatedRoute.extend(styleBody, PaginationRouteMixin, {
|
||||||
|
|
||||||
return self.store.filter('user', paginationSettings, function (user) {
|
return self.store.filter('user', paginationSettings, function (user) {
|
||||||
if (currentUser.get('isEditor')) {
|
if (currentUser.get('isEditor')) {
|
||||||
return user.get('isAuthor');
|
return user.get('isAuthor') || user === currentUser;
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Reference in a new issue