This issue has been created
There are 2 comments.
 
 
Kanban Macro / cid:jira-generated-image-avatar-b31d2283-4faa-4bf6-851e-d90717efbcb2 KANBAN-11 Open

Null category appears when user doesn't have view permission on an object

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-44e0378f-7ac7-43a7-bdf0-28d53ebd7449 Brassat Alexandru created this issue on 07/Oct/24 11:03
 
Summary: Null category appears when user doesn't have view permission on an object
Issue Type: cid:jira-generated-image-avatar-b31d2283-4faa-4bf6-851e-d90717efbcb2 Bug
Affects Versions: 1.3.1
Assignee: Unassigned
Attachments: image-2024-10-07-11-55-28-866.png
Created: 07/Oct/24 11:03
Priority: cid:jira-generated-image-static-minor-66ab2046-b285-4bdd-ad9c-7c54c5627d4d Minor
Reporter: Brassat Alexandru
Description:

When lacking view rights for an object displayed in the kanban, a ghost category appears. This is because 'null' is treated as a valid value for a category value.

Steps to reproduce:

  1. Update the permissions of an object which is shown in the kanban to remove view rights
  2. Log in as a user who now lacks the view rights for an object
  3. The kanban now shows the ghost category
 
 

2 comments

 
cid:jira-generated-image-avatar-44e0378f-7ac7-43a7-bdf0-28d53ebd7449 Brassat Alexandru on 07/Oct/24 11:05
 

The fix would be to add an additional null check when aggregating the values of the category field.

Alternatively, maybe investigate why the xwql returns objects/pages even if the current user doesn't have view rights on those pages.

 
cid:jira-generated-image-avatar-44e0378f-7ac7-43a7-bdf0-28d53ebd7449 Brassat Alexandru on 07/Oct/24 11:05
 
The fix would be to add an additional null check when aggregating the values of the category field (in KanbanAWMSource) .

Alternatively, maybe investigate why the xwql returns objects/pages even if the current user doesn't have view rights on those pages.