Commit Graph

298 Commits

Author SHA1 Message Date
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
23a06be3eb Merge branch 'feat-2024-06-02' into 'development'
feat: 2024 06 02

Closes #42 and #45

See merge request nofusscomputing/projects/django_template!17
2024-06-03 06:13:17 +00:00
Jon
0a17329a71 docs(config_management): notate future feature
!17 closes #42
2024-06-03 15:39:22 +09:30
Jon
0d18e974dd docs: correct liniting errors
!17
2024-06-03 15:32:05 +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
62e605d417 docs(config_management): document module
!17 #42
2024-06-03 12:19:36 +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
64f4c8f2e8 Merge branch 'randomz' into 'development'
feat: randomz

Closes #41

See merge request nofusscomputing/projects/django_template!16
2024-06-01 18:32:34 +00:00
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
Jon
59b5fea639 test(api): check model permissions for devices
!16 #15
2024-06-02 01:04:06 +09:30
Jon
95dc979419 fix(api): corrct device permissions
!16
2024-06-02 01:03:52 +09:30
Jon
33b1a6c91d refactor(api): move permission check to mixin
!16
2024-06-02 01:03:05 +09:30
Jon
fbdbede429 docs(api): add team/org paths
!16 closes #41
2024-06-01 22:23:36 +09:30
Jon
2bf692788c test(api): check model permissions for teams
!16 #15
2024-06-01 22:08:39 +09:30
Jon
09cc1db665 fix(api): permissions for teams
!16
2024-06-01 22:07:13 +09:30
Jon
e7c535c48d fix(api): correct reverse url lookup to use NS API
!16
2024-06-01 22:04:26 +09:30