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

feat: #1538 store audit records tests #1605

Merged
merged 84 commits into from
Oct 2, 2024

Conversation

ianliuwk1019
Copy link
Collaborator

@ianliuwk1019 ianliuwk1019 commented Sep 24, 2024

Closes #1538

  • add new test_permission_audit_service.py to test scenarios for saving audit records during granting/revoking end users permissions.
  • simple verification addition in test_router_user_role_assignment.py to verify saving audit record service is being called when granting/revoking end user permission.

@ianliuwk1019 ianliuwk1019 marked this pull request as ready for review September 25, 2024 14:31
Copy link
Collaborator

@craigyu craigyu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just left one change request, pre-approved

Copy link

sonarqubecloud bot commented Oct 2, 2024

Quality Gate Passed Quality Gate passed for 'nr-forests-access-management_admin'

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud

@ianliuwk1019 ianliuwk1019 merged commit 9542953 into main Oct 2, 2024
12 checks passed
@ianliuwk1019 ianliuwk1019 deleted the feat/1538-store-audit-records-tests branch October 2, 2024 21:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Store audit records when granting/removing user access
2 participants