mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-12-25 10:54:18 +00:00
20 lines
428 B
Python
20 lines
428 B
Python
from app import db
|
|
from app.decorators import permission_required
|
|
from app.models import Permission, Role, User
|
|
from app.settings import tasks as settings_tasks
|
|
from flask import flash, redirect, render_template, url_for
|
|
from flask_login import login_required
|
|
from . import bp
|
|
|
|
|
|
@bp.before_request
|
|
@login_required
|
|
@permission_required(Permission.CONTRIBUTE)
|
|
def before_request():
|
|
pass
|
|
|
|
|
|
@bp.route('/')
|
|
def index():
|
|
pass
|