Skip to content

Commit

Permalink
Add Edit User permission to permissions grid (flarum#1859)
Browse files Browse the repository at this point in the history
  • Loading branch information
tankerkiller125 authored and wzdiyb committed Feb 16, 2020
1 parent 9d4cb75 commit cb44e91
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions js/src/admin/components/PermissionGrid.js
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,12 @@ export default class PermissionGrid extends Component {
permission: 'discussion.deletePosts'
}, 60);

items.add('userEdit', {
icon: 'fas fa-user-cog',
label: app.translator.trans('core.admin.permissions.edit_user_label'),
permission: 'user.edit'
}, 60);

return items;
}

Expand Down

0 comments on commit cb44e91

Please sign in to comment.