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,6 +6,7 @@ from flask import request, jsonify, abort
|
|||
|
||||
from app import app, userevents, instance_keys
|
||||
from auth.auth_context import get_authenticated_user, get_validated_token, get_validated_oauth_token
|
||||
from auth.decorators import process_auth
|
||||
from auth.permissions import (ModifyRepositoryPermission, ReadRepositoryPermission,
|
||||
CreateRepositoryPermission, AdministerRepositoryPermission)
|
||||
from auth.process import process_auth
|
||||
|
|
Reference in a new issue