[ckan-changes] [ckan/ckan] d34f70: Don't explode when a non-logged in user visits /da...

GitHub noreply at github.com
Wed Jun 27 10:05:05 UTC 2018

  Branch: refs/heads/4305-dashboard-crash
  Home:   https://github.com/ckan/ckan
  Commit: d34f70af9cf09b0a13b6b5f52a91251600ef6db1
  Author: Ross Jones <ross at mailbolt.com>
  Date:   2018-06-27 (Wed, 27 Jun 2018)

  Changed paths:
    M ckan/tests/controllers/test_user.py
    M ckan/views/dashboard.py

  Log Message:
  Don't explode when a non-logged in user visits /dashboard

When a non-logged-in user visits /dashboard, errors happen.  This PR
stops those errors happening by ensuring at the start of the request
to the dashboard view that there is a logged in user.

This fixes #4305

      **NOTE:** This service been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.

More information about the ckan-changes mailing list