Open kenshin133 opened 4 months ago
403 USER DOES NOT HAVE THE RIGHT PERMISSIONS.
was found while trying to add sane permissions for the "support staff" role.
I notice the error I see is that admin.tickets.read is missing, but that perm does not exist. I DO have admin.ticket.read
dev
I think a sweeping change to make sure some of these are standardized should do it. it looks like logic wise its working. but just the wrong name.
The SPECIFIC fix for this one would be in Http/Controllers/Admin/TicketsController.php
This inconsistency also goes as far as the database
no logs needed
UPDATE permissions SET name="admin.tickets.read" where id=6; plus changing all instances of admin.ticket.read in all files fixed this. ily
What is your request about?
403 USER DOES NOT HAVE THE RIGHT PERMISSIONS.
was found while trying to add sane permissions for the "support staff" role.
I notice the error I see is that admin.tickets.read is missing, but that perm does not exist. I DO have admin.ticket.read
Branch
dev
Solution idea
I think a sweeping change to make sure some of these are standardized should do it. it looks like logic wise its working. but just the wrong name.
The SPECIFIC fix for this one would be in Http/Controllers/Admin/TicketsController.php
This inconsistency also goes as far as the database
Ctrlpanel Logs
Additional Info
UPDATE permissions SET name="admin.tickets.read" where id=6; plus changing all instances of admin.ticket.read in all files fixed this. ily