Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
scc-net
netvs
netvs-core
Commits
98208eee
Commit
98208eee
authored
Jan 27, 2021
by
Janis Streib
🦉
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
FIX: macfinder: accept global permission
parent
3119f2d2
Pipeline
#130048
passed with stages
in 4 minutes and 33 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
middleware/net_suite/modules/macfinder/views.py
middleware/net_suite/modules/macfinder/views.py
+2
-0
No files found.
middleware/net_suite/modules/macfinder/views.py
View file @
98208eee
...
...
@@ -46,6 +46,8 @@ def create_job():
if
user
.
has_bcd
(
vlan
.
bcd
):
vlan_valid
=
True
break
else
:
vlan_valid
=
True
if
not
vlan_valid
:
return
jsonify
({
'success'
:
False
,
'error'
:
'invalid_vlan'
}),
404
s
=
request
.
environ
[
'beaker.session'
]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment