Modified version of https://github.com/evolvingweb/redmine_timesheet_log_user.
Thanks to @dergachev and @vasi for the original project.
Added the ability to only allow certain roles to be able to add time for some users and to hide roles from dropdown unless they have permission to appear
Tested with Redmine 3.3.1.stable.15926.