Skip to content

Commit

Permalink
MM-11707: Allow to change the permission for edit the others posts on TE
Browse files Browse the repository at this point in the history
  • Loading branch information
jespino committed Sep 24, 2018
1 parent 0adda96 commit e907680
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions api4/role.go
Expand Up @@ -104,6 +104,7 @@ func patchRole(c *Context, w http.ResponseWriter, r *http.Request) {
model.PERMISSION_MANAGE_OAUTH.Id,
model.PERMISSION_MANAGE_SYSTEM_WIDE_OAUTH.Id,
model.PERMISSION_MANAGE_EMOJIS.Id,
model.PERMISSION_EDIT_OTHERS_POSTS.Id,
}

changedPermissions := model.PermissionsChangedByPatch(oldRole, patch)
Expand Down

0 comments on commit e907680

Please sign in to comment.