Skip to content
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

Remove unused functions from policies #346

Merged
merged 1 commit into from
Jun 28, 2024
Merged

Remove unused functions from policies #346

merged 1 commit into from
Jun 28, 2024

Conversation

techenby
Copy link
Member

No description provided.

@techenby techenby self-assigned this Jun 28, 2024
Copy link

what-the-diff bot commented Jun 28, 2024

PR Summary

  • Update in Order Policy
    Standardized the "OrderPolicy" file by removing the "viewAny" method since it was found to be unnecessary. Also, improved the security by requiring users to verify their email before creating orders.
  • Changes in Ticket Policy
    For the "TicketPolicy" file, the "viewAny", "view", and "create" methods were removed, simplifying the policy rules.
  • Cleanup of Unused Methods
    To further streamline the codebase, both files saw the removal of the "restore" and "forceDelete" methods, as well as other unused methods. This helps clarify the code and reduces potential for future errors.

@techenby techenby merged commit a3fa3a0 into main Jun 28, 2024
1 check passed
@techenby techenby deleted the amn/clean-policies branch June 28, 2024 21:12
@techenby techenby restored the amn/clean-policies branch June 28, 2024 21:12
@techenby techenby deleted the amn/clean-policies branch June 28, 2024 21:12
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