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

Attaching/detaching policy opposite logic #6792

Closed
chimit opened this issue Mar 21, 2025 · 2 comments
Closed

Attaching/detaching policy opposite logic #6792

chimit opened this issue Mar 21, 2025 · 2 comments
Labels
needs more info More information is required

Comments

@chimit
Copy link

chimit commented Mar 21, 2025

  • Laravel Version: 11.38.2
  • Nova Version: 5.2.4
  • PHP Version: 8.4.4
  • Database Driver & Version: MySQL 8
  • Operating System and Version: Ubuntu
  • Browser type and version: #.#
  • Reproduction Repository: https://github.com/###/###

Description:

Hi! There is a bug with Authorizing Attaching / Detaching in Nova. In the example in the documentation you can have an attachTag(User $user, Podcast $podcast, Tag $tag) method which should be applied when I open a Podcast resource in Nova and click "Attach Tag" button but instead this policy is applied to the opposite action: when you open the Tag resource and click "Attach Podcast" which is very counter intuitive and illogical.

@crynobone
Copy link
Member

Please provide full reproducing repository based on fresh installation as suggested in the bug report template (or you can refer to https://github.com/nova-issues for example)

@crynobone crynobone added the needs more info More information is required label Mar 21, 2025
@crynobone
Copy link
Member

Hey there,

We're closing this issue because it's inactive, already solved, old, or not relevant anymore. Feel free to open up a new issue if you're still experiencing this problem.

@crynobone crynobone closed this as not planned Won't fix, can't repro, duplicate, stale Mar 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs more info More information is required
Projects
None yet
Development

No branches or pull requests

2 participants