From 37af644078142db2df92317c3ddf375bf9cee09f Mon Sep 17 00:00:00 2001 From: aronwk-aaron Date: Thu, 17 Nov 2022 21:59:15 -0600 Subject: [PATCH] make upload gm8 --- app/characters.py | 2 +- app/templates/partials/_character.html.j2 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/characters.py b/app/characters.py index bb34bbc..50ca25f 100644 --- a/app/characters.py +++ b/app/characters.py @@ -220,7 +220,7 @@ def rescue(id): @character_blueprint.route('/upload/', methods=['GET', 'POST']) @login_required -@gm_level(9) +@gm_level(8) def upload(id): if not current_app.config["ENABLE_CHAR_XML_UPLOAD"]: flash("You must enable this setting to do this", "danger") diff --git a/app/templates/partials/_character.html.j2 b/app/templates/partials/_character.html.j2 index 98cdf3d..7d682a0 100644 --- a/app/templates/partials/_character.html.j2 +++ b/app/templates/partials/_character.html.j2 @@ -60,7 +60,7 @@ href='{{ url_for('characters.get_xml', id=character.id) }}'> Download XML - {% if config.ENABLE_CHAR_XML_UPLOAD and current_user.gm_level == 9 %} + {% if config.ENABLE_CHAR_XML_UPLOAD and current_user.gm_level == 8 %} Upload XML