Feature #8929

Permission to view only your own time logs

Added by Lars Dornheim about 7 years ago. Updated almost 3 years ago.

Status:ClosedStart date:2011-07-28
Priority:HighDue date:
Assignee:Jean-Philippe Lang% Done:

0%

Category:Time tracking
Target version:3.1.0
Resolution:Fixed

Description

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.


Related issues

Duplicated by Redmine - Feature #942: Control Time Report/Detail Access (my time vs all time) Closed 2008-03-27
Blocked by Redmine - Patch #19982: #8929 and #19707 i18n fixes, locales additions and code l... Closed

Associated revisions

Revision 14275
Added by Jean-Philippe Lang over 3 years ago

Adds a role setting that viewing all or own time entries (#8929).

Revision 14296
Added by Jean-Philippe Lang over 3 years ago

Adds missing strings to locales (#8929).

Patch by Mischa The Evil

History

#1 Updated by Lars Dornheim about 7 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.

#2 Updated by Terence Mill about 7 years ago

+1 for the additional right.

Redmine won't be allowed for many comanies because workers' council will forbid this personal data being reportable by managment or all in this detailed level.

#3 Updated by The 2nd over 6 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.

#4 Updated by Hunde Haendla over 6 years ago

another vote for that feature,
would realy appreciate it

Thxalot

#5 Updated by Pavel Bahushevich almost 6 years ago

this should solve the problem http://www.redmine.org/plugins/selfspenttime :)))

#6 Updated by Filou Centrinov over 5 years ago

+1 It would be great, if this Feature could be integrated in Redmine!

#7 Updated by Toshi MARUYAMA over 5 years ago

  • Category set to Permissions and roles

#8 Updated by Toshi MARUYAMA over 5 years ago

  • Category changed from Permissions and roles to Time tracking

#9 Updated by Zer Guz over 3 years ago

+1 vote
Please add a separate permission "view own spent time".

#10 Updated by Jean-Philippe Lang over 3 years ago

  • Assignee set to Jean-Philippe Lang
  • Target version set to 3.1.0

#11 Updated by Jean-Philippe Lang over 3 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.

#12 Updated by Mischa The Evil over 3 years ago

  • Status changed from Closed to Reopened

Please see #19982.

#13 Updated by Mischa The Evil over 3 years ago

  • Blocked by Patch #19982: #8929 and #19707 i18n fixes, locales additions and code layout cleanup added

#14 Updated by Jean-Philippe Lang over 3 years ago

  • Status changed from Reopened to Closed

#15 Updated by Marius BALTEANU 7 months ago

  • Related to deleted (Feature #942: Control Time Report/Detail Access (my time vs all time))

#16 Updated by Marius BALTEANU 7 months ago

  • Duplicated by Feature #942: Control Time Report/Detail Access (my time vs all time) added

Also available in: Atom PDF