Skip to content

Commit

Permalink
Add Edit User permission to permissions grid (#1859)
Browse files Browse the repository at this point in the history
  • Loading branch information
tankerkiller125 authored and franzliedke committed Sep 3, 2019
1 parent 2c43ccf commit 4df455c
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 4df455c

Please sign in to comment.