[ckan-changes] [ckan/ckan] d34f70: Don't explode when a non-logged in user visits /da...
GitHub
noreply at github.com
Mon Jul 23 12:11:17 UTC 2018
Branch: refs/heads/master
Home: https://github.com/ckan/ckan
Commit: d34f70af9cf09b0a13b6b5f52a91251600ef6db1
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
Commit: ad7402f122835b3d82c99b60740c29ae7b86193e
https://github.com/ckan/ckan/commit/ad7402f122835b3d82c99b60740c29ae7b86193e
Author: Sergey <tonnydexter at gmail.com>
Date: 2018-07-23 (Mon, 23 Jul 2018)
Changed paths:
M ckan/tests/controllers/test_user.py
M ckan/views/dashboard.py
Log Message:
-----------
Merge pull request #4307 from ckan/4305-dashboard-crash
Don't explode when a non-logged in user visits /dashboard
Compare: https://github.com/ckan/ckan/compare/600be27ef380...ad7402f12283
**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