Skip to content

Apply strict agent permission on HD Ticket #2294

New issue

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

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

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from

Conversation

niraj2477
Copy link
Contributor

Description

This PR adds additional checks related to team permissions on the HD Ticket doctype to ensure consistent permission logic between the list and form views, restricting agents to only access tickets they are authorized to view.

@niraj2477
Copy link
Contributor Author

@RitvikSardana Please take a look at this, since having this permission check can eliminate the need for overrides related to permissions.

@niraj2477
Copy link
Contributor Author

Used agent.email in agent_in_assigned_team since HDAgent type is passed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant