mirror of
https://github.com/netbox-community/netbox.git
synced 2026-01-11 06:12:16 -06:00
#4969: Remove user and group assignment from SecretRole
This commit is contained in:
@@ -46,13 +46,7 @@ class SecretRoleForm(BootstrapMixin, forms.ModelForm):
|
||||
|
||||
class Meta:
|
||||
model = SecretRole
|
||||
fields = [
|
||||
'name', 'slug', 'description', 'users', 'groups',
|
||||
]
|
||||
widgets = {
|
||||
'users': StaticSelect2Multiple(),
|
||||
'groups': StaticSelect2Multiple(),
|
||||
}
|
||||
fields = ('name', 'slug', 'description')
|
||||
|
||||
|
||||
class SecretRoleCSVForm(CSVModelForm):
|
||||
|
||||
Reference in New Issue
Block a user