Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
scc-net
netvs
netvs-core
Commits
98208eee
Commit
98208eee
authored
Jan 27, 2021
by
janis.streib
🦉
Browse files
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
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
Supports
Markdown
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