Project

General

Profile

Actions

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.

Status:
Closed
Priority:
Urgent
Category:
Bridge
Target version:
Start date:
11/09/2017
Due date:
11/09/2017
% Done:

100%

Estimated time:
Detected in build:
svn
Platform:
Published in build:

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.

Actions #1

Updated by Evgeny Novikov about 7 years ago

  • 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.

Actions #2

Updated by Vladimir Gratinskiy about 7 years ago

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.

Actions #3

Updated by Evgeny Novikov about 7 years ago

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)
Actions #4

Updated by Vladimir Gratinskiy about 7 years ago

  • Due date set to 11/09/2017
  • Status changed from New to Resolved
  • % Done changed from 0 to 100

Fixed in branch "bridge-access".

Actions #5

Updated by Evgeny Novikov about 7 years ago

  • Status changed from Resolved to Closed

I tested the bug fix and merged the branch to master in 7612c4cc.

Actions

Also available in: Atom PDF