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

V7: Log correct user ID when moving media #5055

merged 1 commit into from Apr 17, 2019


Copy link

commented Mar 24, 2019


  • I have added steps to test this contribution in the description below


The current user ID is not used in the audit log when moving media around (or restoring them from trash). This PR fixes it:


I have also cleaned up a few audit related things:

  • Removed unnecessary casts to int
  • Replaced UmbracoUser.Id (obsolete) with Security.CurrentUser.Id

Testing this PR

  • Log in as another user than the admin
  • Move a media to another folder
  • Verify that the correct user ID is logged in the umbracoLog table

This comment has been minimized.

Copy link

commented Mar 25, 2019

Morning Kenn,

Lets test this and get back to you!


@zpqrtbnk zpqrtbnk changed the base branch from dev-v7 to v7/dev Mar 31, 2019

@nul800sebastiaan nul800sebastiaan merged commit 2d32863 into umbraco:v7/dev Apr 17, 2019

1 check passed

Cms 7 Continuous #201903310005 succeeded

This comment has been minimized.

Copy link

commented Apr 17, 2019


@kjac kjac deleted the kjac:fix-media-move-audit-user branch Apr 17, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
3 participants
You can’t perform that action at this time.