mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-11-15 17:25:44 +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
|