mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-12-26 19:34:19 +00:00
17 lines
295 B
Python
17 lines
295 B
Python
from flask_login import login_required
|
|
from app.decorators import permission_required
|
|
from app.models import Permission
|
|
from . import bp
|
|
|
|
|
|
@bp.before_request
|
|
@login_required
|
|
@permission_required(Permission.CONTRIBUTE)
|
|
def before_request():
|
|
pass
|
|
|
|
|
|
@bp.route('')
|
|
def contributions():
|
|
pass
|