remove gm req on bug get endpoint
This commit is contained in:
parent
f1d79f1e90
commit
44689aad36
@ -82,7 +82,6 @@ def create_app():
|
|||||||
if cdclient is not None:
|
if cdclient is not None:
|
||||||
cdclient.close()
|
cdclient.close()
|
||||||
|
|
||||||
|
|
||||||
# add the commands to flask cli
|
# add the commands to flask cli
|
||||||
app.cli.add_command(init_db)
|
app.cli.add_command(init_db)
|
||||||
app.cli.add_command(init_accounts)
|
app.cli.add_command(init_accounts)
|
||||||
|
@ -55,7 +55,6 @@ def resolve(id):
|
|||||||
|
|
||||||
@bug_report_blueprint.route('/get/<status>', methods=['GET'])
|
@bug_report_blueprint.route('/get/<status>', methods=['GET'])
|
||||||
@login_required
|
@login_required
|
||||||
@gm_level(3)
|
|
||||||
def get(status):
|
def get(status):
|
||||||
columns = [
|
columns = [
|
||||||
ColumnDT(BugReport.id), # 0
|
ColumnDT(BugReport.id), # 0
|
||||||
|
@ -73,7 +73,7 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
{% else %}
|
{% elif current_user.is_authenticated %}
|
||||||
<li class="nav-item dropdown">
|
<li class="nav-item dropdown">
|
||||||
<a class="nav-link dropdown-toggle" data-toggle="dropdown" href="#" role="button" aria-haspopup="true" aria-expanded="false">Bug Reports</a>
|
<a class="nav-link dropdown-toggle" data-toggle="dropdown" href="#" role="button" aria-haspopup="true" aria-expanded="false">Bug Reports</a>
|
||||||
<div class="dropdown-menu">
|
<div class="dropdown-menu">
|
||||||
|
Loading…
Reference in New Issue
Block a user