mirror of
https://github.com/minetest/contentdb.git
synced 2025-01-24 06:51:29 +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"])
|
@bp.route("/zipgrep/", methods=["GET", "POST"])
|
||||||
@rank_required(UserRank.ADMIN)
|
@rank_required(UserRank.EDITOR)
|
||||||
def zipgrep_search():
|
def zipgrep_search():
|
||||||
form = SearchForm(request.form)
|
form = SearchForm(request.form)
|
||||||
if form.validate_on_submit():
|
if form.validate_on_submit():
|
||||||
|
Loading…
Reference in New Issue
Block a user