Skip to content

Commit

Permalink
Show future versions to people that know the URL
Browse files Browse the repository at this point in the history
  • Loading branch information
viklund committed Jun 1, 2018
1 parent ff1e8c6 commit 801020d
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions backend/application.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,10 +164,6 @@ def get(self, dataset, version=None):
version = db.get_dataset_version(dataset, version)

if version.available_from > datetime.now():
# If it's not available yet, only return if user is admin.
if not (user and user.is_admin(version.dataset)):
self.send_error(status_code=403)
return
future_version = True

ret = build_dataset_structure(version, user)
Expand Down

0 comments on commit 801020d

Please sign in to comment.