Commit Graph

171 Commits

Author SHA1 Message Date
Jon
4b080251e9 test: cleanup duplicate tests and minor reshuffle
!13
2024-05-29 10:15:24 +09:30
Jon
3c36a988ad test(access): unit testing team user permissions
!13 #15
2024-05-29 09:42:34 +09:30
Jon
d379205bff fix(settings): Add correct permissions for team user delete
!13
2024-05-29 09:42:20 +09:30
Jon
ebf4cb7a5d fix(settings): Add correct permissions for team user view/change
!13
2024-05-29 09:42:06 +09:30
Jon
dd0eaae6b3 refactor(access): add to models a get_organization function
!13
2024-05-29 09:39:55 +09:30
Jon
a9ea173e74 test(access): unit testing team permissions
!13 #15
2024-05-29 08:38:04 +09:30
Jon
e34d29987e refactor(access): remove change view
change is part of view

!13
2024-05-29 08:37:43 +09:30
Jon
b5669c8386 fix(settings): Add correct permissions for team view/change
!13
2024-05-29 08:35:29 +09:30
Jon
58e688e0a5 fix(settings): Add correct permissions for team add
!13
2024-05-29 08:35:03 +09:30
Jon
e3c2f712c1 fix(settings): Add correct permissions for team delete
!13
2024-05-29 08:33:14 +09:30
Jon
0abcb4628e fix(access): correct back link within team view
!13
2024-05-29 08:22:34 +09:30
Jon
b9a2d2ac59 fix(access): correct url name to be within naming conventions
!13
2024-05-29 08:22:11 +09:30
Jon
dd49f92a31 test(settings): unit testing manufacturer permissions
!13 #15
2024-05-29 07:30:09 +09:30
Jon
8bfc952f2e fix(settings): Add correct permissions for manufacturer / publisher delete
!13
2024-05-29 07:29:53 +09:30
Jon
6e6bd1070e fix(settings): Add correct permissions for manufacturer / publisher add
!13
2024-05-29 07:29:42 +09:30
Jon
42fd648e4c fix(settings): Add correct permissions for manufacturer / publisher view/update
!13
2024-05-29 07:29:24 +09:30
Jon
3eb6627b40 test(settings): unit testing software category permissions
!13 #15
2024-05-29 07:16:56 +09:30
Jon
9893e5f952 fix(settings): Add correct permissions for software category delete
!13
2024-05-29 07:16:30 +09:30
Jon
e35a2300e2 fix(settings): Add correct permissions for software category add
!13
2024-05-29 07:16:18 +09:30
Jon
0aa78a4c51 fix(settings): Add correct permissions for software category view/update
!13
2024-05-29 07:16:00 +09:30
Jon
46e1c97a44 test(device_model): unit testing device type permissions
!13 #15
2024-05-29 07:02:27 +09:30
Jon
84d895c214 fix(settings): Add correct permissions for device type delete
!13
2024-05-29 07:02:04 +09:30
Jon
cba28108e0 fix(settings): Add correct permissions for device type add
!13
2024-05-29 07:01:48 +09:30
Jon
18339547ba fix(settings): Add correct permissions for device type view/update
!13
2024-05-29 07:00:57 +09:30
Jon
97d38275a4 test(device_model): unit testing device model permissions
!13 #15
2024-05-29 06:46:58 +09:30
Jon
d2e9e1070e fix(settings): Add correct permissions for device model delete
!13
2024-05-29 06:46:26 +09:30
Jon
6880c5e90b fix(settings): Add correct permissions for device model add
!13
2024-05-29 06:46:06 +09:30
Jon
608a38384d fix(settings): Add correct permissions for device model view/update
!13
2024-05-29 06:45:10 +09:30
Jon
7f7f719731 feat(access): during organization permission check, check to ensure user is logged on
!13
2024-05-29 06:22:24 +09:30
Jon
26bea9edb2 test(organization): unit testing organization permissions
!13 #15
2024-05-29 05:34:25 +09:30
Jon
cb7987f841 fix(access): Add correct permissions for organization view/update
!13
2024-05-29 05:33:48 +09:30
Jon
98885a32e7 fix(access): use established view naming
!13
2024-05-29 05:33:10 +09:30
Jon
8d786d4dea feat(history): always create an entry even if user=none
a none user denotes an admin operation, i.e. cli action

!13
2024-05-29 05:11:40 +09:30
Jon
bc18a1b2bb test(operating_system): unit testing operating system permissions
!13 #15
2024-05-29 05:07:20 +09:30
Jon
6b37c952f8 fix(itam): Add correct permissions for operating system delete
!13
2024-05-29 05:06:41 +09:30
Jon
d81d1ba32a fix(itam): Add correct permissions for operating system add
!13
2024-05-29 05:06:28 +09:30
Jon
01c6cd4bdf fix(itam): Add correct permissions for operating system view/update
!13
2024-05-29 05:06:10 +09:30
Jon
729a36ae40 test(software): unit testing software permissions
!13 #15
2024-05-29 04:52:26 +09:30
Jon
8805823405 fix(itam): Add correct permissions for software delete
!13
2024-05-29 04:50:41 +09:30
Jon
7dd2634fac fix(itam): Add correct permissions for software add
!13
2024-05-29 04:50:26 +09:30
Jon
b1cfb9fa59 fix(itam): for non-admin user use correct order by fields for software view/update
!13
2024-05-29 04:50:10 +09:30
Jon
550e6f4080 fix(itam): Add correct permissions for software view/update
!13
2024-05-29 04:49:23 +09:30
Jon
94116fa173 fix(itam): ensure permission_required parameter for view is a list
!13
2024-05-29 04:48:12 +09:30
Jon
0e72668454 fix(core): dont save history when no user information available
!13
2024-05-29 04:47:12 +09:30
Jon
37ceffcb3b fix(access): during organization permission check, check the entire list of permissions
!13
2024-05-29 04:46:33 +09:30
Jon
6dd6a33707 test(device): unit testing device permissions
!13 #15
2024-05-29 04:09:46 +09:30
Jon
c656f5bce5 fix(core): dont save history for anonymous user
anonymous user is intended not to be granted access to any model

!13
2024-05-29 04:09:35 +09:30
Jon
6cb69c627f fix(access): during permission check use post request params for an add action
!13
2024-05-29 03:24:32 +09:30
Jon
80c3af32d5 fix(user): on new-user signal create settings row if not exist
!13
2024-05-29 01:22:22 +09:30
Jon
9d6bd6db83 fix(itam): ensure only user with change permission can change a device
!13
2024-05-29 01:21:36 +09:30