mirror of
https://github.com/minetest/contentdb.git
synced 2024-11-09 17:13:45 +01:00
Allow editors to use zipgrep
This commit is contained in:
parent
70e46139cc
commit
08ff5199e3
@ -38,7 +38,7 @@ class SearchForm(FlaskForm):
|
||||
|
||||
|
||||
@bp.route("/zipgrep/", methods=["GET", "POST"])
|
||||
@rank_required(UserRank.ADMIN)
|
||||
@rank_required(UserRank.EDITOR)
|
||||
def zipgrep_search():
|
||||
form = SearchForm(request.form)
|
||||
if form.validate_on_submit():
|
||||
|
Loading…
Reference in New Issue
Block a user