Wrong entity type for permissions

Created on 17 October 2023, about 1 year ago

Problem/Motivation

The TicketPermissions class pulls in all the tickets to generate a list of permissions instead of ticket types.
This leads to overloading the permissions page with multiple entries for each ticket added instead.

Steps to reproduce

Add a ticket type and a few ticket entries. The labels of tickets appear on the permissions page instead of the ticket type.

Proposed resolution

Use TicketType class instead of Ticket in TicketPermissions class function generatePermissions.
Update parameter for buildPermissions function to take in TicketType instead of Ticket.

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇬🇧United Kingdom unqunq

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024