Commit Graph

561 Commits

Author SHA1 Message Date
Jon
b78c0e3045 chore(access): refactor api perm checks so they work for model contact
ref: #892 #879
2025-07-25 07:39:17 +09:30
Jon
2e0953d0ed chore(access): refactor api perm checks so they work for model person
ref: #892 #878
2025-07-25 07:38:28 +09:30
Jon
3fc2b538a8 test(access): Refactor Person model API Fields render test Suite to PyTest
ref: #883 #878
2025-07-24 17:13:07 +09:30
Jon
ca938d2b61 test(access): Refactor Entity model API Fields render test Suite to PyTest
ref: #883 #877
2025-07-24 17:12:35 +09:30
Jon
6e65802932 test(access): Refactor Contact model API Fields render test Suite to PyTest
ref: #883 #879
2025-07-24 17:11:35 +09:30
Jon
cbaaefa87d test(access): Refactor Company model API Fields render test Suite to PyTest
ref: #883 #880
2025-07-24 17:10:18 +09:30
Jon
6e1d0c747d refactor(base): adjust functional model test to use fixture kwargs
ref: #883 #735
2025-07-24 15:36:23 +09:30
Jon
3d45e0ddfc feat(access): Filter history permissions
ref: #873 #875 closes #643
2025-07-23 12:03:05 +09:30
Jon
5eb0931495 chore(api): re-enable notes/history api field check
ref: #873 closes #768
2025-07-23 09:58:48 +09:30
Jon
a749862dbc chore(access): correct pytest mark for model role
ref: #873
2025-07-23 07:29:33 +09:30
Jon
f6c1b77c43 test: Test case for model field type
ref: #872
2025-07-21 16:05:40 +09:30
Jon
de87364b9c refactor(tests): Unskip tests that'll work now due to model inheritance change
ref: #871 #771 #395 #859
2025-07-20 12:34:15 +09:30
Jon
c154cef6d5 refactor(access): When adding model role via api, status is 201/created
ref: #871 #844
2025-07-20 11:24:52 +09:30
Jon
2f7865bb83 feat(access): Add Audit and notes tables for model Role
ref: #862 #844
2025-07-12 18:27:03 +09:30
Jon
b643347c01 test(access): Model Role is not usable within global org, remove test
ref: #862 #844
2025-07-12 18:21:51 +09:30
Jon
957052da84 refactor(access): Adjust add permission test for model Role
ref: #862 #844
2025-07-12 17:30:58 +09:30
Jon
b2e0982b4c refactor(access): Migrations for Inheritance change for Role model
ref: #862 closes #844
2025-07-12 16:57:20 +09:30
Jon
ca63e4d6fc refactor(access): Update URL route name for Role model
ref: #862 #844
2025-07-12 16:56:41 +09:30
Jon
3b7e88969e refactor(access): Update Test Suite for Role model
ref: #862 #844
2025-07-12 16:56:07 +09:30
Jon
953dce2984 feat(access): Add AuditHistory Serializer for Role model
ref: #862 #844
2025-07-12 16:44:43 +09:30
Jon
e0c8ef46f5 feat(access): Add Notes Serializer for Role model
ref: #862 #844
2025-07-12 16:43:58 +09:30
Jon
548051df6d refactor(access): Switch to inherit from Centurion model for model Role
ref: #862 #844
2025-07-12 16:42:59 +09:30
Jon
45abdc2e00 feat: When attempting to create and objetc must be unique and alrready exists, dont return error return existing object
ref: #855
2025-07-06 22:20:54 +09:30
Jon
baabf84234 fix(settings): AppSettings requires super user perms
ref: #855 #834
2025-07-06 20:55:18 +09:30
Jon
c54de5c627 feat(access): History + Notes model migrations for Company Model
ref: #855 #801
2025-07-06 20:23:48 +09:30
Jon
7b22541002 chore(access): Update common viewset test suite mock request
ref: #847 #840 #841 #842 #843 #845
2025-07-04 08:40:36 +09:30
Jon
1ba7661f07 refactor(access): Update Entity model ViewSet attribute model_kwarg to model_name
ref: #847 #840 #841 #842 #843 #845
2025-07-04 08:40:36 +09:30
Jon
2eb0ba674e refactor(access): Update Entity model ViewSet to inherit from submodel-rewrite
ref: #847 #840 #841 #842 #843 #845
2025-07-04 08:40:36 +09:30
Jon
6ae3b193fa chore(access): remove get_url_kwargs function as it's not required
ref: #847 #840 #841 #842 #843 #845
2025-07-04 08:40:36 +09:30
Jon
2b7eaace4d fix(access): entity field entity_type is an auto field
ref: #847
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
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
5234051538 refactor(access): Update is_tenancy_object to check for CenturionModel
ref: #839 #767
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