Skip to content

chore: attempt to nudge agents away from dbauthz.AsSystemRestricted#23326

Merged
johnstcn merged 2 commits into
mainfrom
cj/please-no-dbauthz-as-system-restricted
Mar 20, 2026
Merged

chore: attempt to nudge agents away from dbauthz.AsSystemRestricted#23326
johnstcn merged 2 commits into
mainfrom
cj/please-no-dbauthz-as-system-restricted

Conversation

@johnstcn
Copy link
Copy Markdown
Member

I have no idea if agents will read this. On the off chance they do, it's worth a shot.
However, it may help stray humans.

@johnstcn johnstcn requested a review from Emyrk March 19, 2026 21:08
@johnstcn johnstcn self-assigned this Mar 19, 2026
Copilot AI review requested due to automatic review settings March 19, 2026 21:08

This comment was marked as outdated.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@johnstcn johnstcn enabled auto-merge (squash) March 19, 2026 21:15
@johnstcn johnstcn changed the title chore: attempt to nudge agents away from the horror chore: attempt to nudge agents away from dbauthz.AsSystemRestricted Mar 19, 2026
@johnstcn johnstcn requested a review from mafredri March 20, 2026 12:17
// required for various system operations (login, logout, metrics cache).
// DO NOT USE THIS UNLESS YOU HAVE ABSOLUTELY NO OTHER CHOICE. Prefer using a
// more specific As* helper above (or adding a new, narrowly-scoped one) so
// that permissions remain limited to the operation you need.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We could even flag this // Deprecated:. 😄

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's the last-ditch option TBH :D

@johnstcn johnstcn merged commit c8e5857 into main Mar 20, 2026
30 checks passed
@johnstcn johnstcn deleted the cj/please-no-dbauthz-as-system-restricted branch March 20, 2026 12:18
@github-actions github-actions Bot locked and limited conversation to collaborators Mar 20, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants