jigarius / toggl2redmine

Import time from Toggl 2 Redmine.
GNU General Public License v3.0
26 stars 6 forks source link

Disable time logging on closed projects #31

Closed yelidrissi closed 6 years ago

yelidrissi commented 6 years ago

Toggl2Redmine can bypass permissions and log your time for a project where you are not an authorized user or manager. It can even log time in closed projects.

jigarius commented 6 years ago

This is similar to issue 17. However, I will treat this as a request to disallow time logging on closed projects. Actually, I don't have any testing data locally, hence, I haven't been able to test a variety of cases.

jigarius commented 6 years ago

I closed a project on my local Redmine setup and tried to import time for it. I was shown an error message saying: You are not allowed to log time on this project.

I get the same message when I try to log time against a project of which I'm not a member. I'll need some more information and a specific test case with which I can reproduce this error.