Skip to content

Commit

Permalink
[#2939] Remove autorizer from controllers
Browse files Browse the repository at this point in the history
  • Loading branch information
tobes committed Oct 9, 2012
1 parent afc618c commit 20d8d7b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion ckan/controllers/package.py
Expand Up @@ -113,7 +113,6 @@ def _guess_package_type(self, expecting_name=False):

return pt

authorizer = ckan.authz.Authorizer()

def search(self):
from ckan.lib.search import SearchError
Expand Down
1 change: 0 additions & 1 deletion ckan/lib/base.py
Expand Up @@ -204,7 +204,6 @@ class ValidationException(Exception):

class BaseController(WSGIController):
repo = model.repo
authorizer = authz.Authorizer()
log = logging.getLogger(__name__)

def __before__(self, action, **params):
Expand Down

0 comments on commit 20d8d7b

Please sign in to comment.