Commit Graph

273 Commits

Author SHA1 Message Date
Jon
c8c2fcabd2 test(access): Unit Test cases for Role model
ref: #712 #683
2025-04-06 14:41:15 +09:30
Jon
1830b86309 test(access): Unit Test cases for Role History API v2
ref: #712 #683
2025-04-06 14:41:07 +09:30
Jon
9e712d3624 test(access): Unit Test cases for Role API v2
ref: #712 #683
2025-04-06 14:40:58 +09:30
Jon
a2a79be7c1 test(access): Unit Test cases for Role Tenancy Object
ref: #712 #683
2025-04-06 14:40:47 +09:30
Jon
050b2d7602 test(access): Notes ViewSet Functional Tests for Entity Model
ref: #707 #706
2025-04-04 13:06:27 +09:30
Jon
ea7c359cc8 test(access): Notes API Field Functional Tests for Entity Model
ref: #707 #706
2025-04-04 12:47:04 +09:30
Jon
b3391c7e3e test(access): Correct functional ViewSet test suite for Entity model
ref: #707 #706
2025-04-04 12:11:08 +09:30
Jon
22e369aa3e test(access): History functional Tests for Entity model
ref: #707 #706
2025-04-04 12:02:55 +09:30
Jon
d0f710d9f8 test(access): PermissionsAPI, ViewSet and Metadata Tests for Entity model
ref: #707 #706
2025-04-04 11:39:06 +09:30
Jon
167f4140ba feat(access): Enable specifying the history model to use for audit history for a model
ref: #707
2025-04-03 18:32:50 +09:30
Jon
03a9582703 feat(access): Enable specifying the kb model to use for linking kb article to a model
ref: #707
2025-04-03 18:11:03 +09:30
Jon
aba9f44552 feat(access): Enable specifying the notes basename for a model
ref: #707
2025-04-03 17:44:18 +09:30
Jon
569a256dd5 feat(access): ViewSet for Entity Notes model
ref: #707 #706
2025-04-03 17:23:28 +09:30
Jon
b50b0bbd8b test(access): Model test cases for Entity
ref: #707 #706
2025-04-03 17:00:00 +09:30
Jon
bbbf7cb38a test(access): API Rendering test cases for Entity model
ref: #707 #706
2025-04-03 17:00:00 +09:30
Jon
1f817109ae test(access): History tests for Entity model
ref: #707 #706
2025-04-03 17:00:00 +09:30
Jon
711c546e69 test(access): ViewSet tests for Entity model
ref: #707 #706
2025-04-03 17:00:00 +09:30
Jon
11e32435a2 test(access): Tenancy object test for Entity model
ref: #707 #706
2025-04-03 17:00:00 +09:30
Jon
1d1c76e033 test: Refactor all ViewSet Unit Test cases to use new test cases class
ref: #696 closes #672
2025-03-25 02:22:47 +09:30
Jon
5938a51193 test(access): Correct Team notes url route name
ref: #662 #665
2025-03-04 03:18:50 +09:30
Jon
57d41d12a3 chore(core): Remove old history tests
ref: #605 #601 closes #46
2025-02-20 22:37:54 +09:30
Jon
37aa9ff968 test(access): remove test cases for Team prarent_object
not required for model

ref: #605 #608
2025-02-20 05:41:00 +09:30
Jon
f765fe1fa0 test(access): History Entry checks for Team model
ref: #605 closes #608
2025-02-19 23:39:42 +09:30
Jon
1561b3a2e6 test(access): API Field Checks for Team History
ref: #605 #608
2025-02-19 23:39:28 +09:30
Jon
72314ea2a4 test(access): History Entry checks for Organization model
ref: #605 closes #607
2025-02-19 23:38:17 +09:30
Jon
2c2ed724c3 test(access): API Field Checks for Organization History
ref: #605 #607
2025-02-19 23:37:28 +09:30
Jon
77226f75fc refactor(access): Update access imports to neew path
ref: #640 #641
2025-02-19 20:34:28 +09:30
Jon
4dd19ba22f fix(tests): Correct Permission Import due to removing from access.models
ref: #605 #601
2025-02-18 04:13:35 +09:30
Jon
25373fc5b6 test: Disable Old History Model test suites
ref: #601 #602 #605
2025-02-18 04:13:33 +09:30
Jon
51e7f875a2 test(access): Team Note Model Check object requires org
ref: #525 #527
2025-02-09 20:01:14 +09:30
Jon
7b6d6935d4 test(access): Team Note Model Checks
ref: #525 closes #527
2025-02-09 19:27:05 +09:30
Jon
1cec44f7bd test(access): Organization Note Model Checks
ref: #525 closes #526
2025-02-09 19:26:38 +09:30
Jon
98159c1840 test(access): Serializer Checks for Team Notes
ref: #525 #527
2025-02-09 17:50:03 +09:30
Jon
8140c1f945 test(access): Serializer Checks for Organization Notes
ref: #525 #526
2025-02-09 17:49:51 +09:30
Jon
e038d08544 test(access): Team Notes Function Viewset Tests
ref: #525 #527
2025-02-08 21:46:24 +09:30
Jon
05c9e3f066 test(access): Organization Notes Function Viewset Tests
ref: #525 #526
2025-02-08 21:46:10 +09:30
Jon
d11e7fa71d test(access): Team Notes Test Cases for ViewSet
ref: #525 #527
2025-02-08 19:21:28 +09:30
Jon
96a8a6a158 test(access): Organization Notes Test Cases for ViewSet
ref: #525 #526
2025-02-08 19:21:15 +09:30
Jon
e7729afc98 test(access): Team Test Cases for API Field Checks
ref: #525 #527
2025-02-08 17:23:14 +09:30
Jon
7358b0a90c test(access): Organization Test Cases for API Field Checks
ref: #525 #526
2025-02-08 17:22:59 +09:30
Jon
0db2c09be4 test(api): Add kwargs as arg to test cases
ref: #512 #513 #518
2025-02-06 20:47:58 +09:30
Jon
56aab474e9 test(access): Add missing unit tests for team user viewset
ref: #512 #513 #518
2025-02-04 07:29:11 +09:30
Jon
1bd1d546fc test(access): Add missing unit tests for team viewset
ref: #512 #513 #518
2025-02-04 07:29:11 +09:30
Jon
fe3688791f test(access): Add missing unit tests for organization viewset
ref: #512 #513 #518
2025-02-04 07:29:11 +09:30
Jon
5507c4a366 test(access): during permission check function has_permission ensure get_object not called
ref: #471 #511
2025-02-01 17:20:11 +09:30
Jon
ab0666005c refactor(access): Dont override django middleware, create own for access tenancy
ref: #475
2025-01-19 15:32:48 +09:30
Jon
f08d3357d0 test: update to cater for tenancy object in request
ref: #473 #474
2025-01-18 22:57:00 +09:30
Jon
e5d23cc1fa refactor(access): Move user perm logic to request.tenancy object
ref: #473 #474
2025-01-18 17:57:17 +09:30
Jon
1087dde2d5 test(access): Ensure items returned from query are from user organization and/or globally set organization
ref: #459 closes #448
2025-01-04 18:04:02 +09:30
Jon
845a5fb473 test(access): Test Cases for Organization Permission Mixin
ref: #456 # closes #442
2024-12-28 21:37:01 +09:30