-
Notifications
You must be signed in to change notification settings - Fork 2
feat: #1538 store audit records tests #1605
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
Merged
Merged
Changes from 78 commits
Commits
Show all changes
84 commits
Select commit
Hold shift + click to select a range
ddfdea7
feat: create audit permission and code tables
craigyu 4d02cb6
fix: grant permissions
craigyu e1bbb00
Merge branch 'main' into feat/1536-create-the-new-audit-tables
craigyu a979679
fix: Merge branch 'main' into feat/1537-create-an-api-to-return-audit…
craigyu b4e1904
feat: add new models def
craigyu 68eae76
fix: depreciated utcnow
craigyu 61a02b4
Merge branch 'main' into feat/1537-create-an-api-to-return-audit-info…
craigyu 633b4e2
feat: add schemas
craigyu b1554d5
fix: magic number
craigyu 89e1e55
fix: model relationship
craigyu 9116670
fix: remove district related code
craigyu 7117ecd
use JSONB
craigyu fa22fd5
fix: use enum
craigyu 115af42
fix: table args
craigyu d4077f0
fix: mapped columns
craigyu 4d17a31
fix: naming and comments
craigyu 47df43e
fix: file name
craigyu c91098d
fix: endpoint template
craigyu 1a06216
fix: stash changes
craigyu 8c84367
feat: endpoint complete
craigyu 298472d
fix: add tests
craigyu 8bd2270
fix: datetime
craigyu 9bd001a
fix: test data
craigyu 72dfa31
fix: tests and fixture
craigyu 21d9854
fix: test
craigyu 357023d
fix: router tests
craigyu b02300d
fix: tests
craigyu d6ce4a6
fix: tests
craigyu 131279c
fix: tests
craigyu 95e6830
feat: client-code-gen
craigyu 9025a75
Revert "feat: client-code-gen"
craigyu 999b602
feat: client-code-gen
craigyu 7a8741c
fix: frontend schema update
craigyu 78404e1
fix: dependency location
craigyu fbecc2d
fix: remove unused import
craigyu c3ce32c
fix: simplify comment and use model_config
craigyu 1b63d6a
Merge branch 'main' into feat/1537-create-an-api-to-return-audit-info…
craigyu 464adbf
Temp permission_audit service and repository
ianliuwk1019 283396d
Merge branch 'main' into feat/1538-store-audit-records
ianliuwk1019 5e18d36
Refactor forest_client.py to forest_client_integration.py
ianliuwk1019 db4a467
Refactor forest_client_integration.py file directory path
ianliuwk1019 6c51f9d
Rename schema for FamUserRoleAssignmentCreate
ianliuwk1019 dc3378f
Fixed import path
ianliuwk1019 91e45ae
system username constant
ianliuwk1019 65b03cc
PermissionAduitHistory schema refactoring.
ianliuwk1019 6e3f985
Minor refactoring.
ianliuwk1019 550abaf
Some fixing on forest client tests due to refactoring.
ianliuwk1019 7f9f3ee
Add forest_client and name to new_user_role_assginment_res.
ianliuwk1019 657378f
Change crud create_user_role_assignment_many requster from cognito_us…
ianliuwk1019 ed7566f
Add PrivilegeChangeTypeEnum constant.
ianliuwk1019 4823b8c
Add creating audit log record for assign user role.
ianliuwk1019 b4dd70f
Fix typo
ianliuwk1019 1fc407f
Adjust name alias
ianliuwk1019 7fdede7
Remove Field(alias="user_name")
ianliuwk1019 33ee92e
Minor refactor
ianliuwk1019 b9a2f36
Save audit when revoked_permission_role
ianliuwk1019 a33c26c
Minore refactoring
ianliuwk1019 088b75a
Regenerate api-client
ianliuwk1019 698e250
Fix forest client number not showing.
ianliuwk1019 4fde945
Adjust comment
ianliuwk1019 fc212d2
Remove unnecessary return
ianliuwk1019 439159a
Re order imports.
ianliuwk1019 a3856ac
adjust PrivilegeDetailsScope logic
ianliuwk1019 67049e6
regen api-client
ianliuwk1019 72808a8
Fix enum type PrivilegeDetailsScopeTypeEnum
ianliuwk1019 1e8caf0
Fix forest client value missing due to key change.
ianliuwk1019 b9b6395
Remove none attribute from role.scopes.
ianliuwk1019 65b30cf
Fix typo
ianliuwk1019 2fd847f
Temp adding test.
ianliuwk1019 f0235a0
add test for 'test_audit_history_end_user_role_scopes'
ianliuwk1019 ec3cfc3
rename tests
ianliuwk1019 e08d379
Merge branch 'main' into feat/1538-store-audit-records-tests
ianliuwk1019 3035399
Add revoke test
ianliuwk1019 110868c
Add missing f for f string log.
ianliuwk1019 37b269c
Add revoke test for scoped role
ianliuwk1019 32638fb
Add test for forest client exception when saving audit.
ianliuwk1019 062fe61
Add test when no permission granted successfully
ianliuwk1019 642cbf8
Add verify audit creation for user role assignment tests
ianliuwk1019 7c98719
Adjust import
ianliuwk1019 e0e8f03
Fix import
ianliuwk1019 357961a
Move 'mock_forest_client' fixture into conftest so it can be shared t…
ianliuwk1019 1ec660d
Add None return
ianliuwk1019 34d77cc
Move a mock to a constant
ianliuwk1019 cfaddb9
Merge branch 'main' into feat/1538-store-audit-records-tests
ianliuwk1019 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.