remove gm req on bug get endpoint

This commit is contained in:
Aaron Kimbre 2022-04-03 11:56:15 -05:00
parent f1d79f1e90
commit 44689aad36
3 changed files with 1 additions and 3 deletions

View File

@ -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)

View File

@ -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

View File

@ -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">