- Do you want to request a feature or report a bug?
bug
- What is the current behavior?
If an entry is created using Git Gateway, it will show up as being authored by the person who actually saved it. If the entry is deleted, however, the commit will be shown as coming from the Git Gateway owner.
See example here, both of the last two commits were made by me: https://github.com/verythorough/testing-json/commits/0ab590bd59bed4334cc9cb3f5922e5fdfafdeda2.
- If the current behavior is a bug, please provide the steps to reproduce.
- What is the expected behavior?
The deletion commit should show the actual user as the committer while deletion.
- Please mention your CMS, node.js, and operating system version.
CMS 0.7.0
This may be related to the fact that the code for deletion sends the request directly, instead of using the commit function (which sets the author):
https://github.com/netlify/netlify-cms/blob/1acdb8ddf5051edf103ca3d2475f53c91110e513/src/backends/github/API.js#L298
Hi guys, I'm on v2.1.3 and still seeing this bug.
It seems that @tech4him1 found a patch on his fork but did not PR it ?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
@erezrokah can you check whether we're still doing Git Gateway deletions without setting the author?
Doesn't reproduce here https://github.com/erezrokah/netlify-cms-reproductions/commits/netlify_cms/issue_819 (tested with git-gateway)