Permission to view only your own time logs
|Assignee:||Jean-Philippe Lang||% Done:|
The should be the possibiliy to set the role permissions in such a way, that a user of a role can only see its own time logs, that means his own spent hours.
For setting the time logs such a permission already exists (Edit own time logs). But this permission does have no effect, if the permission "View spent time" is deactivated.
So, at the moment, there is no possibility, that a project member can update or correct his own time logs without the right to see the time logs of all other project members, which is problematical for a lot of organizations, because they don't allow this.
#1 Updated by Lars Dornheim over 9 years ago
I just discovered, that a section "Spend time" for the last 7 days can be added to the "My page", so the above described problems can be solved partly.
However, I did not find a possibility to show time logs in this section, which are older than 7 days. Perhaps this could be configured or there could be several pages, where some can go through. But on the other hand, the possibility to make only the last X day available is not bad in some cases.
Another thing, I did not found, is a direct way to log time to a project (not to a specific ticket), if the permission for viewing the time logs of all users is not enabled. The only way is to use the "Log time" link from a specific ticket and clear the issue ID, which is somewhat annoying. If the permission to view all time logs (also of the other users) is enabled, than there exists a "Log time" link on the "Spent time" page, which can be reached from the right margin of the project overview page. So, a "Log time" link perhaps somewhere next to the "Spent time" link on the project overview page would be nice, that is not affected by the permission for viewing the time logs of all users.
#3 Updated by The 2nd almost 9 years ago
one vote for the additional view own spend time
i also want to note that if you use the "Spend time the last 7 days" addon on mypage and delete one entry you get redirected to the spend time page and get an 403 error if you dont have the right to view spent time entries.
#11 Updated by Jean-Philippe Lang over 5 years ago
- Subject changed from Permission needed to view only your own time logs to Permission to view only your own time logs
- Status changed from New to Closed
- Resolution set to Fixed
Fetaure added in r14276. For roles with the "view time logs" permission, you can now choose if the role can view all or own time entries only using the "time logs visibility" property.