If I have "View team worklogs" permissions in one team I can see the worklogs of my team members from projects and teams outside of the team's scope in tempo reports and account timesheets.
This is on Jira 8.20 Data Center.
Example:
Lets say I have the Jira projects Alpha and Beta. Both also have dedicated Tempo Teams and Tempo accounts. Lets further say I have 3 people: A, B and C.
- Project/Team Alpha
- A is part of the Alpha team and has "View team worklogs" Tempo team permission as well as "View all worklogs" Jira project permission
- B is part of the Alpha team but has no elevated permission (only sees their worklogs)
- Project/Team Beta
- A, B and C are part of the Beta team and project but do not have "View team worklogs" or "View all worklogs" permissions
Expected Results:
- A can see B's worklogs from Alpha in the Tempo Team Timesheet, in reports and Alpha's account timesheet
- A can not see B's worklogs from Beta in reports and Beta's account timesheet
- A can not see any of C's worklogs in tempo reports or account timesheets
Actual Result:
- A can see B's worklogs from both Alpha and Beta in reports and Beta's account timesheet
- A can not see C's worklogs from Beta in reports or Beta's account timesheet
- In the collaborators overview on each issue in the Beta project A can see themselves and B, but not C
In my oppinion this does not seem to be intended behaviour and settings in one team should not affect anything outside of this teams scope (in this case any worklogs from projects not linked to the team).
My uneducated guess would be that Tempo allows me to see another persons work logs if I share a team with them and have "View team worklogs" permission and as soon as it find's such a connection does not check further for "View all worklogs" project level permissions.