Commit Graph

84 Commits

Author SHA1 Message Date
Jon
4fdb3df06e test: Unit Tests TenancyObjects
!33 #15
2024-06-20 03:12:43 +09:30
Jon
7eb0651b89 test: Test Cases for TenancyObjects
!33 #15
2024-06-20 03:07:39 +09:30
Jon
58b134ae30 refactor(tests): move unit tests to unit test sub-directory
!33 #15
2024-06-19 22:58:50 +09:30
Jon
58051f297f test(access): TenancyObject field tests
!33 #15
2024-06-19 11:51:03 +09:30
Jon
0a9a5b20fa test(access): remove skipped api tests for team users
teamusers not accessible from api

!33 #15
2024-06-19 10:52:24 +09:30
Jon
8abbf2ff9e docs(access): correct doc warnings
!28
2024-06-17 23:42:54 +09:30
Jon
27b62d1018 docs(access): add link to docs on team page
!28 closes #39
2024-06-17 23:27:11 +09:30
Jon
aef276b76c docs(access): add link to docs on organization page
!28 #39
2024-06-17 23:26:52 +09:30
Jon
c15eca2e58 test(access): team user model permission check for organization manager
!28 #39 #15
2024-06-17 22:59:26 +09:30
Jon
33b10f7109 test(access): team model permission check for organization manager
!28 #39 #15
2024-06-17 22:53:23 +09:30
Jon
9a40d095e8 test(access): organization model permission check for organization manager
!28 #39 #15
2024-06-17 22:52:57 +09:30
Jon
991ddc3d7f refactor(access): relocate permission check to own function
!28 #39
2024-06-17 22:52:02 +09:30
Jon
35c11ed6f0 test(access): add test cases for model delete as organization manager
!28 #39 #15
2024-06-17 22:41:40 +09:30
Jon
e4f5ec4892 test(access): add test cases for model addd as organization manager
!28 #39 #15
2024-06-17 22:40:35 +09:30
Jon
109fc49d76 test(access): add test cases for model change as organization manager
!28 #39 #15
2024-06-17 22:17:59 +09:30
Jon
da8946fcb6 test(access): add test cases for model view as organization manager
!28 #39 #15
2024-06-17 22:13:41 +09:30
Jon
848661856a feat(access): add notes field to organization
!28 #39 #13
2024-06-17 19:40:46 +09:30
Jon
14acea31f2 feat(access): add organization manger
org managager regardless of permissions can conduct all operations against an organization.

!28 #39
2024-06-17 19:38:11 +09:30
Jon
320d3f1a13 test: refactor api model permission tests to use an abstract class of test cases
!27 #15
2024-06-16 03:43:17 +09:30
Jon
e72eedf077 test: refactor model permission tests to use an abstract class of test cases
!27 #15
2024-06-15 21:40:33 +09:30
Jon
6286b06270 test: refactor history entry to have test cases in abstract classes
!27 #15
2024-06-15 18:50:10 +09:30
Jon
34db5f863a test: add placeholder tests
!27 #15
2024-06-15 16:31:23 +09:30
Jon
372eefa5c4 test(access): test team history
!27 #15
2024-06-15 15:54:32 +09:30
Jon
733a31ad71 test(access): ensure team user history is created and removed as required
!27 #15
2024-06-15 15:06:51 +09:30
Jon
4a19bb2ecc test(access): ensure history is removed on team delete
!27 #15
2024-06-15 14:13:37 +09:30
Jon
29a8969288 test(access): ensure history is removed on item delete
!27 #15
2024-06-15 14:12:19 +09:30
Jon
eb8dca9806 fix(access): overridden save to use default attributes
!27
2024-06-15 14:08:53 +09:30
Jon
85bf1b9907 feat(access): Add a notes field to teams
!21 #13
2024-06-12 05:57:55 +09:30
Jon
ca8e0c07ea feat(base): Add a notes field to TenancyObjetcs class
!21 #13
2024-06-12 05:57:37 +09:30
Jon
4016d4c200 refactor(access): migrate team users view to use forms
!21
2024-06-12 04:31:02 +09:30
Jon
f36662ca82 refactor(access): migrate teams view to use forms
!21
2024-06-12 04:25:32 +09:30
Jon
3e340a47b8 refactor(access): migrate organization view to use form
!21
2024-06-12 04:23:24 +09:30
Jon
505f4cfdd9 fix(api): ensure proper permission checking
!24 fixes #55
2024-06-11 22:18:50 +09:30
Jon
fe0696fee6 feat(models): add property parent_object to models that have a parent
!22
2024-06-10 00:51:59 +09:30
Jon
11ec62feb6 test(config_management): config group software permission for add, change and delete
!22 #43
2024-06-09 18:11:16 +09:30
Jon
579e44f834 fix(access): add a team user permissions to use team organization
use the parent models organization for permissions to work

!21 fixes #51
2024-06-08 02:20:17 +09:30
Jon
95a08b2d2c refactor: adjust template block names
renamed so they make sense

!20
2024-06-07 20:01:56 +09:30
Jon
569455c127 test(access): view permission check for team
!18 #48 #15
2024-06-05 23:45:43 +09:30
Jon
378ae32552 test(access): view permission check for organization
!18 #48 #15
2024-06-05 23:45:36 +09:30
Jon
6650434c63 refactor(access): cache object so it doesnt have to be called multiple times
!18
2024-06-05 23:42:34 +09:30
Jon
2c1bbbfc15 fix(config_management): set config dict keys to be valid ansible variables
!18 fixes #47
2024-06-05 19:05:32 +09:30
Jon
d1b6c96d72 test: add history entry creation tests for most models
!17 #15 #46
2024-06-03 15:24:11 +09:30
Jon
7fe1260308 feat(access): throw error if no organization added
!17
2024-06-03 14:28:12 +09:30
Jon
2bf692788c test(api): check model permissions for teams
!16 #15
2024-06-01 22:08:39 +09:30
Jon
5f3b48ea98 refactor(access): add team option to org permission check
!16
2024-06-01 22:03:05 +09:30
Jon
6437170ee8 test(api): check model permissions for organizations
!16 #15
2024-05-31 23:54:28 +09:30
Jon
c0a09d5d50 feat(api): configure team permissions
!5 closes #36
2024-05-31 14:55:54 +09:30
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