Commit Graph

2123 Commits

Author SHA1 Message Date
Jon
39307e7a0e feat(assistance): add category and org to model articles tab
ref: #465 #467
2025-01-09 14:35:17 +09:30
Jon
56fec0f34c docs(core): update markdown docs for recent model ref changes
ref: #465 #467
2025-01-09 14:18:26 +09:30
Jon
f9d82a5e92 feat(api): Enable fetching related ticket metadata for the other side of the related ticket
ref: #466 #467 nofusscomputing/centurion_erp_ui#40
2025-01-09 02:53:52 +09:30
Jon
229014eb8c fix(core): display_name is not a mandatory field for related ticket
ref: #466 #467 nofusscomputing/centurion_erp_ui#40
2025-01-09 02:53:06 +09:30
Jon
f67fad8927 fix(core): display_name is not a mandatory field for ticket linked item
ref: #466 #467 nofusscomputing/centurion_erp_ui#40
2025-01-09 02:52:53 +09:30
Jon
3e55c93674 feat(core): Add ticket comment field metadata to api meta
ref: #466 #467 nofusscomputing/centurion_erp_ui#40
2025-01-09 02:21:53 +09:30
Jon
4faafb8d27 feat(core): Add ticket linked item field metadata to api meta
ref: #466 #467 nofusscomputing/centurion_erp_ui#40
2025-01-09 02:21:34 +09:30
Jon
d33dd0fcff feat(core): Add related ticket field metadata to api meta
ref: #466 #467 nofusscomputing/centurion_erp_ui#40
2025-01-09 02:21:09 +09:30
Jon
af96e47126 feat(api): Add option to viewset to render field markdown metadata
ref: #466 #467 nofusscomputing/centurion_erp_ui#40
2025-01-09 02:19:23 +09:30
Jon
86b63acb00 feat(api): Add item metadata to markdown field for renderable items
ref: #466 #467 nofusscomputing/centurion_erp_ui#40
2025-01-09 00:29:42 +09:30
Jon
b65da4efac feat(api): Add item metadata to markdown field for renderable items
ref: #466 #467 nofusscomputing/centurion_erp_ui#40
2025-01-07 13:19:38 +09:30
Jon
f341adab8e fix(api): Ensure ALL required classes for viewset are inherited
ref: #459 #467
2025-01-07 13:14:14 +09:30
8f37e2e0b8 Merge branch 'development' 2025-01-04 10:53:45 +00:00
bc85c532dd build: bump version 1.6.0 -> 1.7.0 1.7.0 2025-01-04 10:53:44 +00:00
Jon
5c3ea53f99 Merge pull request #464 from nofusscomputing/development 2025-01-04 20:23:26 +09:30
Jon
660eafe598 Merge pull request #452 from nofusscomputing/feature-next-release 2025-01-04 20:04:41 +09:30
Jon
2543047331 Merge pull request #459 from nofusscomputing/refactor-inventory 2025-01-04 19:51:37 +09:30
Jon
4ebff09671 fix(api): Ensure ALL required classes for viewset are inherited
ref: #459
2025-01-04 19:14:25 +09:30
Jon
e7601e311a test(access): Skip test case for appsettings different organization due to model not being tenancy model.
ref: #448 #459
2025-01-04 18:26:12 +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
dd72843ffb feat(access): Enable Objects from global organization to be viewable by user with the permission
ref: #448 #459
2025-01-03 12:14:26 +09:30
Jon
0d5f329146 feat(access): Enable Objects from globally set organization to return within query
ref: #448 #459
2025-01-03 12:00:46 +09:30
Jon
4b2a89c992 chore: test cleanup
ref: #459 closes #437
2025-01-03 10:09:38 +09:30
Jon
f218d8e2fa docs(roadmap): added release management
ref: #459
2025-01-03 10:07:50 +09:30
Jon
a4a9f2c3a9 feat(access): Enable the calling of the dynamic permissions function to obtain permissions
creates recursive loop

ref: #437 #459
2025-01-02 17:01:01 +09:30
Jon
e69c1e1b99 fix(itam): Dont query parent class for permissions
creates recursive loop

ref: #437 #459
2025-01-02 17:00:14 +09:30
Jon
0b362f04ee test(itam): API v2 Inventory Permission Check skip diff org
ref: #437 #459 #461
2025-01-02 16:57:30 +09:30
Jon
d1dc330744 test(itam): API v2 Inventory Permission Checks
ref: #437 #459
2025-01-02 16:54:55 +09:30
Jon
ed8f8ae411 test: mv inventory test to itam app
ref: #437 #459
2025-01-02 13:58:06 +09:30
Jon
d33cf96db3 fix(core): If no org specified serializer fetch, dont attempt to access
ref: #459
2025-01-01 18:33:30 +09:30
Jon
f7b444b8e4 fix(access): If no org specified during permission check, rtn false for permission
ref: #437 #459
2025-01-01 18:25:44 +09:30
Jon
1fd433e621 feat(itam): Cater for RabbitMQ errors when uploading inventory
ref: #437 #459
2025-01-01 17:31:39 +09:30
Jon
df037e59c9 fix(itam): return serializer for inventory endpoint
ref: #437 #459
2025-01-01 17:31:06 +09:30
Jon
ddbce0c0ce feat(itam): On Inventory upload validate existing device
ref: #437 #459
2024-12-31 14:10:35 +09:30
Jon
3c120291d2 refactor(itam): Device UUID field requires no default
ref: #437 #459
2024-12-31 13:29:37 +09:30
Jon
d6eea69c52 refactor(itam): mv inventory task to itam app
ref: #437
2024-12-31 11:32:18 +09:30
Jon
b32346d3f0 Merge pull request #456 from nofusscomputing/refactor-permission_checking 2024-12-28 21:54:48 +09:30
Jon
845a5fb473 test(access): Test Cases for Organization Permission Mixin
ref: #456 # closes #442
2024-12-28 21:37:01 +09:30
Jon
14b7c6d55b fix(api): base index must inherit from IndexViewset
ref: #442 #456
2024-12-28 19:53:56 +09:30
Jon
406fd1bb01 fix(core): Dont attempt to access the object if it doesn't exist when fetching ticket permissions
ref: #442 #456
2024-12-28 18:32:25 +09:30
Jon
4656617583 fix(access): Cached list objects must be a list including an empty one as required
ref: #442 #456
2024-12-28 18:31:53 +09:30
Jon
08b113b1ba feat(access): During permission checking also capture Http404
ref: #442 #456
2024-12-28 18:06:22 +09:30
Jon
a07dee370c refactor(access): Use exceptions for permission flow as required
ref: #442 #456
2024-12-28 17:33:11 +09:30
Jon
fbaf8770df feat(access): Super User to be granted permission
ref: #442 #456
2024-12-28 16:19:35 +09:30
Jon
e96916768e feat(access): Cache the permission required during permission checking
ref: #442 #456
2024-12-28 15:47:12 +09:30
Jon
8e1cf2401a fix(core): when gather ticket permissions, use getter as object may not exist
ref: #442 #456
2024-12-28 15:45:47 +09:30
Jon
580abaefa6 fix(core): action metadata to use view permission for tickets
ref: #442 #456
2024-12-28 15:11:50 +09:30
Jon
193c6c3b7f feat(api): Add IndexViewset to ViewSet mixin
ref: #442 #456
2024-12-27 23:03:39 +09:30
Jon
62fcb5aa01 test(api): Adjust test case for metadata visibility
view user only

ref: #442 #456
2024-12-27 22:28:12 +09:30
Jon
1c87eeb188 feat(access): If the user lacks the permission during permission checks, return sooner
ref: #442 #456
2024-12-27 18:51:10 +09:30