Project

General

Profile

Bug #8553

Jobs with no access are shown as child jobs

Added by Pavel Andrianov over 1 year ago. Updated over 1 year 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.

History

#1

Updated by Evgeny Novikov over 1 year 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.

#2

Updated by Vladimir Gratinskiy over 1 year 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.

#3

Updated by Evgeny Novikov over 1 year 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)
#4

Updated by Vladimir Gratinskiy over 1 year 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".

#5

Updated by Evgeny Novikov over 1 year ago

  • Status changed from Resolved to Closed

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

Also available in: Atom PDF