Add user roles and permissions to API endpoints.
Expose permissions to client; Fix 403 error.
Fix merge conflicts.
added comment to secrets mail config
Share user permissions code between server and client.
Use mixins to share User class between client and server.
Merge branch '1214_user_authorization' into develop
Merge branch 'develop' of github.com:TID-Lab/aggie into 1126_trend_controller
Merge branch '1126_trend_controller' into develop
Fix merge conflicts