New Ticket

TICKET_CREATE privileges are required to perform this operation. You don't have the required permissions



Login Close


Apply permission checks to default Dashboard widgets

Ticket #572 Assigned to nobody, last modified 5 years ago

Details

Reporter astaric
Keywords
Type defect
Status new
Priority major
Product BHD
Milestone next 0.x
Component dashboard
Version
Cc

Description

Global Dashboard currently displays widgets that display product data, but do not check product specific permissions. If user has TICKET_VIEW permission in global context, he can see unfiltered lists of products and product tickets.

The following steps can be used to reproduce the problems:
Create two products with some tickets (DEMO and MNP). Grant anonymous *_VIEW on global, but no product specific permissions.

With this setup, anonymous can access global Dashboard, where it sees
all the tickets and all the products. He cannot access product
specific dashboards (no PRODUCT_VIEW permission). Links to
products/tickets in the global dashboard also redirect to login.

If anonymous is grantet additional PRODUCT_VIEW permission for both products, he can access the dashboards, but ticket and timeline widgets crash (no TICKET_VIEW permissions).

trac:TracFineGrainedPermissions should also be included in permission check.

Note: See TracTickets for help on using tickets.