Improve User Experience When Not Logged In

Registered by Andy Doan

We currently give unfriendly/unhelpful messages to the user when they try to view things in the web ui that they don't have access to. We should try and make things easier for the user by:

* If not logged in, give them a log-in link and try and make the completion of the login take them back to the item they were trying to view

* If logged in but don't have permission, give them some type of error message explaining that

Blueprint information

Status:
Complete
Approver:
Andy Doan
Priority:
High
Drafter:
None
Direction:
Approved
Assignee:
Andy Doan
Definition:
Approved
Series goal:
Accepted for trunk
Implementation:
Implemented
Milestone target:
milestone icon 2012.11
Started by
Andy Doan
Completed by
David Zinman

Related branches

Sprints

Whiteboard

[fboudra, 2012-10-25] re-target to 2012.11 cycle.
[doanac, 2012-11-09] I played some today with this and have a branch: https://code.launchpad.net/~doanac/lava-server/403-improvements https://code.launchpad.net/~doanac/lava-dashboard/403-improvement/+merge/133851

Meta:
Headline: restricted access improvements to validation.linaro.org
Acceptance: users not logged into the website or missing permissions will get more informative messages and actions.

(?)

Work Items

Work items:
identify places with access restriction in the web UI: DONE
redirect non-logged in users to the login page: DONE
return proper "access denied" message when the user does not have the required privileges: DONE

This blueprint contains Public information 
Everyone can see this information.