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

@ -5,9 +5,9 @@ from flask import abort, request, jsonify, make_response, session
from util.names import TAG_ERROR, TAG_REGEX
from auth.decorators import process_auth
from auth.permissions import (ReadRepositoryPermission,
ModifyRepositoryPermission)
from auth.process import process_auth
from data import model
from data.interfaces.v1 import pre_oci_model as model
from endpoints.common import parse_repository_name