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

fix: Dispatch event instead of hook for audit logging #3969

Merged
merged 1 commit into from
Sep 2, 2024

Conversation

juliushaertl
Copy link
Member

@juliushaertl juliushaertl commented Sep 2, 2024

With nextcloud/server#47625 i noticed that we actually emit the wrong path (absolute instead of relative to the user directory) for the legacy hook. However since we want this for audit logging we can actually just emit the new node event that also saves some extra effort to get the node first then as we already have it.

Signed-off-by: Julius Härtl <jus@bitgrid.net>
@juliushaertl juliushaertl added bug Something isn't working 3. to review Ready to be reviewed labels Sep 2, 2024
@juliushaertl
Copy link
Member Author

/backport to stable30

@juliushaertl juliushaertl merged commit 874722a into main Sep 2, 2024
45 of 62 checks passed
@juliushaertl juliushaertl deleted the fix/audit-log-node branch September 2, 2024 13:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Ready to be reviewed bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants