Ability to change/remove accounts creating issues
When viewing a repo in the gitreports dashboard, you can see the following:
Owner: Organisation Users: UserA, UserB Status: Active Public Link: View
Note that I have two users. It's always UserA that is being used to create new issues submitted via gitreports but, I would very much prefer it to be UserB. There doesn't seem to be anyway to change this preference, nor to remove a user. I tried revoking permissions to gitreports on UserA, but that just seems to prevent issues being created at all.
Any ideas?
Thanks in advance!
Currently, the user whose username comes first alphabetically is the one that is used to create the issue, and there is not a way to configure this. That comes from this code:
https://github.com/schneidmaster/gitreports.com/blob/master/app/models/repository.rb#L2-L14
Happy to accept a PR adding a configuration option for which user to submit issues as.
And how do you remove a User completely?