Skip to content

AssetPolicy class import #17542

Merged
snipe merged 1 commit intogrokability:developfrom
akemidx:assetpolicyclassimport
Aug 8, 2025
Merged

AssetPolicy class import #17542
snipe merged 1 commit intogrokability:developfrom
akemidx:assetpolicyclassimport

Conversation

@akemidx
Copy link
Copy Markdown
Contributor

@akemidx akemidx commented Aug 7, 2025

Unsure if this is the fix, but, noticed this while working on another branch.

We did not import the Asset class in the AssetPolicy.

However, in pretty much every case I have seen in the codebase we use Asset::class when passing to the policy, so this probably has never worked correctly.

@akemidx akemidx requested a review from snipe as a code owner August 7, 2025 21:05
@snipe snipe merged commit 5947086 into grokability:develop Aug 8, 2025
8 checks passed
Yvejen pushed a commit to Yvejen/snipe-it that referenced this pull request Nov 19, 2025
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.

2 participants