Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Commits tab shows 'nautobot' as committer, even when a different user makes the commit #154

Closed
tim-fiola opened this issue Dec 6, 2021 · 2 comments · Fixed by #156
Closed
Assignees

Comments

@tim-fiola
Copy link
Contributor

When a user that does not have a username of nautobot makes a change, the Version Control --> Commits entries always show the committer as nautobot

One of the advantages that the Commits view brings, especially to the main branch, is that it offers an auditable history of changes to the production data: who made what change and when. However, if the Committer always shows as nautobot, this makes the Commits history much less valuable

In this example below, as user tim, I made the most recent (top) change in the list, but the Committer shows as nautobot
image

To replicate:

  • In any branch, make a change
  • Go to Version Control --> Commits
  • Note the Committer will show up as nautobot
@glennmatthews
Copy link
Contributor

Strangely I don't see this in a local dev environment with user "admin", but do with user "ntc":

image

@glennmatthews
Copy link
Contributor

Looks like this is due to logic in author_from_user - it defaults to nautobot <nautobot@ntc.com> if the provided user doesn't have an email address on record.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants