Commit Graph

252 Commits

Author SHA1 Message Date
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
36962109d1 test(base): placeholder tests for config groups software
!22 #43
2024-06-08 08:37:11 +09:30
Jon
b3b5ad6372 test(base): basic test for merge_software helper
!22 #43
2024-06-08 08:31:55 +09:30
Jon
23c43ed8dc fix(config_management): correct delete success url
!22 #43
2024-06-08 08:31:20 +09:30
Jon
1069211d1b feat(config_management): add config group software to group history
!22 #43
2024-06-08 08:30:55 +09:30
Jon
460eff1f71 feat(itam): render group software config within device rendered config
!22 #43
2024-06-08 07:18:16 +09:30
Jon
0c382a73e5 feat(config_management): assign software action to config group
!22 #43
2024-06-08 07:17:20 +09:30
Jon
ae81ee8863 refactor(config_management): relocate groups views to own directory
!22
2024-06-08 04:07:40 +09:30
Jon
07e93243a0 fix(base): remove social auth from nav menu
!21
2024-06-08 02:22:42 +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
158eb17907 test: during unit tests add SECRET_KEY
required so that tests run

!20
2024-06-07 22:41:23 +09:30
Jon
8b887575c9 feat: add configuration value 'SESSION_COOKIE_AGE'
!20
2024-06-07 21:27:33 +09:30
Jon
d0e8e9a674 feat: remove development SECRET_KEY and enforce checking for user configured one
!20
2024-06-07 21:13:39 +09:30
Jon
d8d75c7db0 feat(base): build CSRF trusted origins from configuration
!20
2024-06-07 20:36:59 +09:30
Jon
3b743a847c refactor: login to use base template
!20
2024-06-07 20:08:07 +09:30
Jon
95a08b2d2c refactor: adjust template block names
renamed so they make sense

!20
2024-06-07 20:01:56 +09:30
Jon
b38984fcb9 feat(base): Enforceable SSO ONLY
this setting removes the login form and forces a redirect to the SSO signin page.

!20 #1
2024-06-07 19:33:57 +09:30
Jon
3040d4afe7 feat(base): configurable SSO
!20 #1
2024-06-07 19:23:39 +09:30
Jon
c0173d6feb feat(api): move invneotry api endpoint to '/api/device/inventory'
!18
2024-06-06 04:55:27 +09:30
Jon
d100c311dd test(api): placeholder test for inventory
!18 #15
2024-06-06 04:54:16 +09:30
Jon
930e5aeb69 test(settings): access permission check for app settings
!18 #15 closes #48
2024-06-06 02:30:29 +09:30
Jon
ff595b0cba test(settings): history view permission check for software category
!18 #48 #15
2024-06-06 01:44:51 +09:30
Jon
a4bc4b1560 test(settings): history view permission check for manufacturer
!18 #48 #15
2024-06-06 01:44:40 +09:30
Jon
735ac287f9 test(settings): history view permission check for device type
!18 #48 #15
2024-06-06 01:44:22 +09:30
Jon
eb6ae13c58 feat(core): support more history types
!18
2024-06-06 01:43:57 +09:30
Jon
dd0c13a65f fix(itam): ensure device type saves history
!18
2024-06-06 01:43:20 +09:30
Jon
cb09252b7b test(settings): user settings
!18 #15
2024-06-06 01:25:44 +09:30
Jon
b24cf33207 test(settings): view permission check for user settings
!18 #48 #15
2024-06-06 01:20:50 +09:30
Jon
f053b9c6a8 test: refactor core test layout
!18 #48 #15
2024-06-05 23:47:31 +09:30
Jon
4da47e9a70 test(itam): view permission check for software
!18 #48 #15
2024-06-05 23:46:58 +09:30
Jon
cbe865d5ce test(itam): view permission check for operating system
!18 #48 #15
2024-06-05 23:46:48 +09:30
Jon
063ffaed43 test(itam): view permission check for device model
!18 #48 #15
2024-06-05 23:46:36 +09:30
Jon
7e3f0e0541 test(itam): view permission check for device
!18 #48 #15
2024-06-05 23:46:28 +09:30
Jon
35cc88857a test(config_management): view permission check for config_groups
!18 #48 #15
2024-06-05 23:46:04 +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
4cafa34d69 fix(core): correct history view permissions
!18 #48 #15
2024-06-05 23:44:48 +09:30
Jon
46bdd488ec feat(core): function to fetch history entry item
required for the checking of user permissions against the organization

!18 #48 #15
2024-06-05 23:44:17 +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
dd30a57a9d fix(itam): correct logic for device add dynamic success url
!18
2024-06-05 18:45:49 +09:30
Jon
18e84db63c fix(itam): correct config group link for device
!18
2024-06-05 18:44:54 +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
df98fbaecc chore: remove old pages
!17
2024-06-03 14:35:01 +09:30
Jon
55f0db2217 feat(config_management): Add button to groups ui for adding child group
!17 #42
2024-06-03 14:28:49 +09:30
Jon
7fe1260308 feat(access): throw error if no organization added
!17
2024-06-03 14:28:12 +09:30
Jon
5873897184 refactor(config_management): move groups to nav menu
!17 #42
2024-06-03 14:27:12 +09:30
Jon
1f35f44f20 test(config_management): when adding a host to config group filter out host that are already members of the group
!17 #42
2024-06-03 11:12:16 +09:30
Jon
7eee0a26a9 test(config_management): unit test for config groups model to ensure permissions are working
!17 #42
2024-06-03 07:50:30 +09:30