-
-
Notifications
You must be signed in to change notification settings - Fork 184
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(projectHistoryLogs): record logs for transfering ownership TASK-…
…944 (#5313) ### 📣 Summary Record project history logs for project ownership transfers. ### 👀 Preview steps Feature/no-change template: 1. ℹ️ Have at least 2 users and a project 2. Go to Project > Settings > Sharing 3. Transfer ownership to user2 4. Go to `http://localhost/api/v2/audit-logs/?q=log_type:project-history AND metadata__asset_uid:<asset_uid>&format=json` 6. 🟢 There should be a new log with action="transfer" and the usual metadata, plus an additional `metadata.username = "user2"` field ### 💭 Notes This does not rely on the transfer being successful/accepted. We want to log any attempt to transfer. Canceled requests will be handled in v2.
- Loading branch information
Showing
4 changed files
with
95 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters