Fixes for partner dashboard

@mbertheau highlighted shortcomings with the partner dashboard in #970. This PR builds upon his changes and additionally adds a 'user role' field. Changes to @mberthau's code are solely that staff user's permissions aren't touched.