You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: enhance audit logging for team management actions (#233)
* feat: enhance audit logging for team management actions
- Updated AuditLogModel to include additional action types: "team_created", "member_joined_team", "member_added_to_team", "member_removed_from_team", and "team_updated".
- Implemented audit logging in TeamService for team creation, member joining, member addition, member removal, and team updates to improve tracking of team activities.
- Modified RemoveTeamMemberView to pass the user performing the removal for better audit trail.
These changes improve accountability and traceability of team management actions.
* refactor: clean up unused import in team_service.py
- Removed the unused datetime and timezone import from team_service.py to streamline the code and improve maintainability. This change contributes to a cleaner and more organized codebase.
* refactor: clean up whitespace in team_service.py
- Removed unnecessary blank lines in the team_service.py file to improve code readability and maintainability. This change contributes to a cleaner and more organized codebase.
* feat: enhance audit logging by adding member ID details
- Updated the audit logging in TeamService to include the added member's ID in the details of the "member_added_to_team" action. This change improves the traceability of team member additions, enhancing accountability in team management activities.
* fix: add missing comma in audit logging details
- Added a missing comma in the details dictionary of the "member_added_to_team" action in TeamService. This minor fix ensures proper syntax and prevents potential issues in the logging functionality.
---------
Co-authored-by: Amit Prakash <[email protected]>
0 commit comments