Bug #8553
closed
Jobs with no access are shown as child jobs
Added by Pavel Andrianov about 7 years ago.
Updated about 7 years ago.
Description
If a user has no access to a job, it is not shown in the job tree, but is still shown as a child of a parent job at the job page. Likely, the child job should also be hidden.
- Description updated (diff)
- Assignee set to Vladimir Gratinskiy
- Priority changed from Normal to Urgent
- Target version set to 1.0
I hope that a fix of this bug is trivial.
Evgeny Novikov wrote:
I hope that a fix of this bug is trivial.
Jobs without access are shown at jobs tree too if user have access to its children. But user can't click it or open the job page manually if he know an id of the job. The same is for job page. I need to show the tree in parents field. What the problem to show user the name of job for which he don't have an access? I'm not going to fix it.
Vladimir Gratinskiy wrote:
Evgeny Novikov wrote:
I hope that a fix of this bug is trivial.
Jobs without access are shown at jobs tree too if user have access to its children. But user can't click it or open the job page manually if he know an id of the job. The same is for job page. I need to show the tree in parents field. What the problem to show user the name of job for which he don't have an access? I'm not going to fix it.
Indeed there is another issue. Let's consider the following example:
job 1 - user has an access
subjob 1 - user has access
subjob 2 - user doesn't have an access
Then at the job page user will see:
job 1 (link)
subjob 1 (link)
But at the job 1 page:
Children:
subjob 1 (link)
subjob 2 (not a link)
We suppose to fix the latter by displaying:
Children:
subjob 1 (link)
- Due date set to 11/09/2017
- Status changed from New to Resolved
- % Done changed from 0 to 100
Fixed in branch "bridge-access".
- Status changed from Resolved to Closed
I tested the bug fix and merged the branch to master in 7612c4cc.
Also available in: Atom
PDF