Move auth decorators into a decorators module
The non-decorators will be broken out in the followup change
This commit is contained in:
parent
abf179eb09
commit
1bd4422da9
14 changed files with 14 additions and 12 deletions
|
@ -6,8 +6,8 @@ from flask_login import current_user
|
|||
import features
|
||||
|
||||
from app import app, gitlab_trigger
|
||||
from auth.decorators import require_session_login
|
||||
from auth.permissions import AdministerRepositoryPermission
|
||||
from auth.process import require_session_login
|
||||
from data import model
|
||||
from endpoints.common import route_show_if
|
||||
from util.http import abort
|
||||
|
|
Reference in a new issue