Commit Graph

233 Commits

Author SHA1 Message Date
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
Jon
df27a7dfd3 feat(itam): add delete button to config group within ui
!17 #42
2024-06-03 07:49:50 +09:30
Jon
c9098f5d2f fix(config_management): correct model permissions
!17 #42
2024-06-03 07:49:03 +09:30
Jon
5cb155e01f feat(itam): Config groups rendered configuration now part of devices rendered configuration
!17 #42
2024-06-03 06:27:16 +09:30
Jon
39bfbd25cb feat(config_management): Ability to delete a host from a config group
!17 #42
2024-06-03 06:25:58 +09:30
Jon
fff51e38d2 feat(config_management): Ability to add a host to a config group
!17 #42
2024-06-03 06:25:30 +09:30
Jon
746b7ac747 feat(config_management): ensure config doesn't use reserved config keys
!17 #42
2024-06-03 02:01:31 +09:30
Jon
d422f2feee fix(config_management): add config management to navigation
!17 #42
2024-06-03 01:51:10 +09:30
Jon
a7d195dfcb feat(config_management): Config groups rendered config
new tab to display the rendered configuration

!17 #42
2024-06-03 01:35:09 +09:30
Jon
fdeae217fa feat(config_management): add configuration groups
!17 #42
2024-06-03 01:31:51 +09:30
Jon
8061b7c8e2 fix(ui): remove api entries from navigation
!17
2024-06-02 19:49:58 +09:30
Jon
3f68d67ba5 feat(api): add swagger ui for documentation
!17
2024-06-02 19:49:36 +09:30
Jon
4151e0afdc feat(api): filter software to users organizations
!17 closes #45
2024-06-02 19:48:14 +09:30
Jon
89a5e0f4cc feat(api): filter devices to users organizations
!17 #45
2024-06-02 19:46:23 +09:30
Jon
f41282d08b fix(api): check for org must by by type None
!16
2024-06-02 03:58:09 +09:30
Jon
e257c11488 refactor(api): migrate devices and software to viewsets
!16
2024-06-02 03:57:38 +09:30
Jon
2dba8997e9 test(api): remove tests for os and manufacturer as they are not used in api
!16 #15
2024-06-02 02:08:48 +09:30
Jon
397ec56028 test(api): check model permissions for software
!16 #15
2024-06-02 02:02:24 +09:30
Jon
8dfb996b24 fix(api): correct software permissions
!16
2024-06-02 02:02:07 +09:30
Jon
c3f3c1247e chore(api): implement workaround for listview
until logic written, all listview access=true

!16
2024-06-02 01:39:23 +09:30