make upload gm8

This commit is contained in:
aronwk-aaron 2022-11-17 21:59:15 -06:00
parent 64ccb29972
commit 37af644078
2 changed files with 2 additions and 2 deletions

View File

@ -220,7 +220,7 @@ def rescue(id):
@character_blueprint.route('/upload/<id>', 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")

View File

@ -60,7 +60,7 @@
href='{{ url_for('characters.get_xml', id=character.id) }}'>
Download XML
</a>
{% if config.ENABLE_CHAR_XML_UPLOAD and current_user.gm_level == 9 %}
{% if config.ENABLE_CHAR_XML_UPLOAD and current_user.gm_level == 8 %}
<a role="button" class="btn btn-primary btn-block"
href='{{ url_for('characters.upload', id=character.id) }}'>
Upload XML