Commit Graph

4056 Commits

Author SHA1 Message Date
Jon
bc3545d53e refactor(access): Update Test Suite for Employee model
ref: #839 #843
2025-07-04 08:40:36 +09:30
Jon
3ea44aaabe feat(human_resources): Add AuditHistory Serializer for Employee model
ref: #839 #843
2025-07-04 08:40:36 +09:30
Jon
d7442cfff4 feat(human_resources): Add Notes Serializer for Employee model
ref: #839 #843
2025-07-04 08:40:36 +09:30
Jon
23832fff6a feat(human_resources): Change model to inherit from CenturionModel for Employee model
ref: #839 #843
2025-07-04 08:40:36 +09:30
Jon
c5f8412d46 feat(access): Add model tag for Person model
ref: #839 closes #841
2025-07-04 08:40:36 +09:30
Jon
a582cbbe59 refactor(access): Update Test Suite for Person model
ref: #839 #841
2025-07-04 08:40:36 +09:30
Jon
8c48fb6c37 feat(access): Add AuditHistory Serializer for Person model
ref: #839 #841
2025-07-04 08:40:36 +09:30
Jon
3c6589f07c feat(access): Add Notes Serializer for Person model
ref: #839 #841
2025-07-04 08:40:36 +09:30
Jon
d1fbead077 feat(access): Change model to inherit from CenturionModel for Person model
ref: #839 #841
2025-07-04 08:40:36 +09:30
Jon
3025c397b5 feat(access): Add model tag for Contact model
ref: #839 closes #842
2025-07-04 08:40:36 +09:30
Jon
43490b7407 refactor(access): Update Test Suite for Contact model
ref: #839 #842
2025-07-04 08:40:36 +09:30
Jon
e15bb11a76 feat(access): Add AuditHistory Serializer for Contact model
ref: #839 #842
2025-07-04 08:40:36 +09:30
Jon
1823cb4ec1 feat(access): Add Notes Serializer for Contact model
ref: #839 #842
2025-07-04 08:40:36 +09:30
Jon
9de99e07f7 feat(access): Change model to inherit from CenturionModel for Contact model
ref: #839 #842
2025-07-04 08:40:36 +09:30
Jon
c9c8cf6700 refactor(access): Update Test Suite for Company model
ref: #839 #845 #760
2025-07-04 08:40:36 +09:30
Jon
af868fcf4f feat(access): Add AuditHistory Serializer for Company model
ref: #839 #845 #760
2025-07-04 08:40:36 +09:30
Jon
e9fe6a2bdc feat(access): Add Notes Serializer for Entity model
ref: #839 #845 #760
2025-07-04 08:40:36 +09:30
Jon
595b232db9 feat(access): Change model to inherit from CenturionModel for Company model
ref: #839 #845 #760
2025-07-04 08:40:36 +09:30
Jon
87d0a5174f feat(access): Change model to inherit from CenturionModel for Entity model
ref: #839 closes #840
2025-07-04 08:40:36 +09:30
Jon
f074abefa7 refactor(access): Update URL route name for Entity model
ref: #839 #840 #841 #842 #843 #844 #845
2025-07-04 08:40:36 +09:30
Jon
b6dae72a07 refactor(access): Update Test Suite for Entity model
ref: #839 #840
2025-07-04 08:40:36 +09:30
Jon
847e4f93ea feat(access): Add AuditHistory Serializer for Entity model
ref: #839 #840
2025-07-04 08:40:36 +09:30
Jon
3943171534 feat(access): Add Notes Serializer for Entity model
ref: #839 #840
2025-07-04 08:40:36 +09:30
Jon
ef5d132ab3 feat(access): Change model to inherit from CenturionModel for Entity model
ref: #839 #840
2025-07-04 08:40:36 +09:30
Jon
874ce0c4f4 chore: enable creating reandom email field in model_kwarg_data fixture
ref: #839
2025-07-04 08:40:36 +09:30
Jon
ae20451033 chore: make model_instance a function fixture
ref: #839
2025-07-04 08:40:36 +09:30
Jon
fefb7e67a0 test(settings): for api checks for model AppSettings, make user super_user
required so that tests can run

ref: #839
2025-07-04 08:40:36 +09:30
Jon
41da9fb6a0 test(settings): Exclude inter-org tests for model AppSettings
perms for appsettings are global

ref: #839 #834
2025-07-04 08:40:36 +09:30
Jon
5234051538 refactor(access): Update is_tenancy_object to check for CenturionModel
ref: #839 #767
2025-07-04 08:40:36 +09:30
Jon
ebea2da906 test(settings): Remove old API Permission tests no longer required
ref: #833 #836
2025-07-04 08:40:36 +09:30
Jon
e233bf4487 test(settings): Ensure ExternalLink model hasrequired field template added
ref: #833 #835
2025-07-04 08:40:36 +09:30
Jon
ea1d6f4a20 chore(api): Add support to API Permission to include additional tests
ref: #833
2025-07-04 08:40:36 +09:30
Jon
0a9a26a43b refactor(access): For request middleware, use filter and first object so that testing can occur when mre than one exists
ref: #833
2025-07-04 08:40:36 +09:30
Jon
8f984e6c21 test(api): if model lacks list endpoint, check if method alllowed for test cases for Functional API perms test suite
ref: #833
2025-07-04 08:40:36 +09:30
Jon
7e3ae4c0bc test(api): if model lacks organization field, xfail returned orgs test cases for Functional API perms test suite
ref: #833
2025-07-04 08:40:36 +09:30
Jon
ef6ebcdcf4 fix(access): Ensure that if method not allowed, exception is thrown first before perms check
ref: #833
2025-07-04 08:40:36 +09:30
Jon
0b8b0bc850 test: Ensure service fixture assosiates with device
ref: #833 #828
2025-07-04 08:40:35 +09:30
Jon
e3804b4f9b test(api): if model lacks organization field, xfail returned orgs test cases for Functional API perms test suite
ref: #833 #820
2025-07-04 08:40:35 +09:30
Jon
ded80d4a8c fix(itam): Model software must be related linked to organization model
ref: #833 #820
2025-07-04 08:40:35 +09:30
Jon
2027f3fe97 test: Add depreciated models to be excluded from coverage
ref: #833
2025-07-04 08:40:35 +09:30
Jon
239540c9ab chore: correct docs linting error
ref: #833
2025-07-04 08:40:35 +09:30
Jon
164aa21fad feat(settings): Add model tag for ExtrnalLink model
ref: #833 #835 closes #584
2025-07-04 08:40:35 +09:30
Jon
78539f2551 refactor(settings): Update URL route name for UserSettings model
ref: #833 closes #836
2025-07-04 08:40:35 +09:30
Jon
095239f199 refactor(settings): Update Test Suite for ExternalLink model
ref: #833 #836
2025-07-04 08:40:35 +09:30
Jon
ea8c81c64d feat(settings): Add AuditHistory Serializer for UserSettings model
ref: #833 #836
2025-07-04 08:40:35 +09:30
Jon
80770deafd feat(settings): Add Notes Serializer for UserSettings model
ref: #833 #836
2025-07-04 08:40:35 +09:30
Jon
05a32711b5 feat(settings): Change model to inherit from CenturionModel for UserSettings model
ref: #833 #836
2025-07-04 08:40:35 +09:30
Jon
1fe669e932 feat(settings): Add model ExternalLink to migrate for history and notes
ref: #833 closes #835
2025-07-04 08:40:35 +09:30
Jon
801bac9e6d refactor(settings): Update URL route name for ExternalLink model
ref: #833 #835
2025-07-04 08:40:35 +09:30
Jon
4a3f2ae6db refactor(settings): Update Test Suite for ExternalLink model
ref: #833 #835
2025-07-04 08:40:35 +09:30