Skip to content

Commit

Permalink
fix: only staff member can add index or edit text info.
Browse files Browse the repository at this point in the history
  • Loading branch information
YishaiGlasner committed Jul 15, 2024
1 parent 51f948d commit 910289e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions reader/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -1242,6 +1242,7 @@ def edit_text(request, ref=None, lang=None, version=None):
})

@ensure_csrf_cookie
@staff_member_required
@sanitize_get_params
def edit_text_info(request, title=None, new_title=None):
"""
Expand Down

0 comments on commit 910289e

Please sign in to comment.