Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[BUG] Leak Tickets to team member which dont have access to the category #555

Closed
1 task done
Luzifix opened this issue Aug 28, 2024 · 2 comments
Closed
1 task done
Assignees
Labels
bug Something isn't working important

Comments

@Luzifix
Copy link

Luzifix commented Aug 28, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

The /tickets and /transcript commands show tickets from categories where a team member dont have access

Expected Behavior

The /tickets and /transcript commands show only tickets for categories where a team memeber have access for

Steps To Reproduce

  1. Create two roles
  2. Create two categories and set role 1 to category 1 and role 2 to category 2
  3. Create a ticket in both categories and close them
  4. Call with a team member which have role 1 the /tickets command on the user which created the two tickets in the two categories and you can see both. The expected behavior is that the team member which have only one of the two roles can only see tickets from categorie 1

Environment

- OS:
- Node:
- NPM:
- Bot:

Anything else?

No response

@Luzifix Luzifix added the bug Something isn't working label Aug 28, 2024
@eartharoid eartharoid self-assigned this Aug 28, 2024
@eartharoid
Copy link
Member

@all-contributors please add @Luzifix for bug

Copy link
Contributor

@eartharoid

I've put up a pull request to add @Luzifix! 🎉

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working important
Projects
None yet
Development

No branches or pull requests

2 participants