Skip to content

Commit

Permalink
[#3012] Add ckan.authorized_users_only config option
Browse files Browse the repository at this point in the history
  • Loading branch information
tobes committed Nov 9, 2012
1 parent a57a751 commit 7968627
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ckan/lib/app_globals.py
Expand Up @@ -161,5 +161,9 @@ def _init(self):
datasets_per_page = int(config.get('ckan.datasets_per_page', '20'))
self.datasets_per_page = datasets_per_page

self.authorized_users_only = asbool(
config.get('ckan.authorized_users_only', 'false'))


app_globals = _Globals()
del _Globals

0 comments on commit 7968627

Please sign in to comment.