Move auth decorators into a decorators module

The non-decorators will be broken out in the followup change
This commit is contained in:
Joseph Schorr 2017-03-16 16:50:09 -04:00
parent abf179eb09
commit 1bd4422da9
14 changed files with 14 additions and 12 deletions

View file

@ -9,9 +9,9 @@ from flask import make_response, request, session, Response, redirect, abort as
from app import storage as store, app, metric_queue
from auth.auth_context import get_authenticated_user
from auth.decorators import extract_namespace_repo_from_session, process_auth
from auth.permissions import (ReadRepositoryPermission,
ModifyRepositoryPermission)
from auth.process import process_auth, extract_namespace_repo_from_session
from auth.registry_jwt_auth import get_granted_username
from data import model, database
from data.interfaces.v1 import pre_oci_model as model