Skip to content

Commit c991cc4

Browse files
authored
Merge pull request #2000 from rackerlabs/permissions_change
feat(nautobot): Permissions changes to aid in storage functions
2 parents 6ed6b4d + 32ba98a commit c991cc4

2 files changed

Lines changed: 17 additions & 1 deletion

File tree

ansible/roles/nautobot_permissions/defaults/main.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ nautobot_permissions_groups:
1414
- ucadmin
1515
sys-admin:
1616
- ucadmin
17+
storage-admin:
18+
- ucadmin
1719

1820
# definition of a permission and the various settings on that permission
1921
nautobot_permissions_permissions:
@@ -44,6 +46,7 @@ nautobot_permissions_permissions:
4446
- extras.customfield
4547
- extras.dynamicgroup
4648
- extras.gitrepository
49+
- extras.graphqlquery
4750
- extras.job
4851
- extras.jobresult
4952
- extras.note
@@ -102,8 +105,20 @@ nautobot_permissions_permissions:
102105
enabled: true
103106
actions:
104107
- run
108+
- change
105109
object_types:
106110
- extras.job
111+
- extras.jobqueue
112+
storage-admin:
113+
description: System admin read/change access for storage items
114+
enabled: true
115+
actions:
116+
- view
117+
- change
118+
object_types:
119+
- nautobot_golden_config.goldenconfigsetting
120+
- virtualization.virtualmachine
121+
- virtualization.vminterface
107122
sys-admin:
108123
description: System administration read access for git repositories and secrets
109124
enabled: true
@@ -112,6 +127,7 @@ nautobot_permissions_permissions:
112127
object_types:
113128
# Git repository management - view source control integrations
114129
- extras.gitrepository
130+
- extras.joblogentry
115131
# Secrets management - view system secrets and credentials
116132
- extras.secret
117133
- extras.secretsgroup

ansible/roles/platforms/defaults/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ platforms_with_drivers:
1515
- man: Cisco
1616
name: "Cisco NX-OS"
1717
driver: nxos_ssh
18-
network: cisco_nxos
18+
network: cisco_ssh

0 commit comments

Comments
 (0)