Skip to content

fix: show hidden character ownership logs to staff#1438

Merged
itinerare merged 2 commits intolk-arpg:release/v3.0.0from
perappu:pr/fix-ownership-log-visibility
Mar 9, 2026
Merged

fix: show hidden character ownership logs to staff#1438
itinerare merged 2 commits intolk-arpg:release/v3.0.0from
perappu:pr/fix-ownership-log-visibility

Conversation

@perappu
Copy link
Copy Markdown

@perappu perappu commented Mar 9, 2026

Went about it this way because it prevents having to either a) use Auth::user()->hasPower() on every single character row or b) fix something across multiple locations. (I love global scopes and whereRelation...)

Also removed some checks that weren't needed given we already check for if character is deleted (aka null).

@itinerare itinerare added bug Something isn't working needs review Pull requests that are pending community review labels Mar 9, 2026
@itinerare itinerare added reviewed Pull requests that have received community review and are pending merge and removed needs review Pull requests that are pending community review labels Mar 9, 2026
@itinerare itinerare merged commit 9945935 into lk-arpg:release/v3.0.0 Mar 9, 2026
2 checks passed
@SpeedyD
Copy link
Copy Markdown
Contributor

SpeedyD commented Mar 11, 2026

I'm clearly a bit late approving this, but I love this- I was thinking about how to pull this off myself recently, but due to (still?!?) being sick, haven't gotten to it.. glad to see it merged!

I also am sure I would've never figured out to used the booted function.. since I still don't know what it does. XD
(Note to self: research more Laravel functions)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working reviewed Pull requests that have received community review and are pending merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants