[PR #3294] [CLOSED] fix: NaN-id query #21642

Closed
opened 2026-04-15 20:30:49 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/3294
Author: @tinkerer-shubh
Created: 7/7/2025
Status: Closed

Base: mainHead: fix-admin-user-has-permission-id-check


📝 Commits (1)

  • 4f0c4c6 Fix adminPlugin userHasPermission when userId missing to avoid NaN id query

📊 Changes

1 file changed (+6 additions, -4 deletions)

View changed files

📝 packages/better-auth/src/plugins/admin/admin.ts (+6 -4)

📄 Description

closes: https://github.com/better-auth/better-auth/issues/3282


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/better-auth/better-auth/pull/3294 **Author:** [@tinkerer-shubh](https://github.com/tinkerer-shubh) **Created:** 7/7/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `fix-admin-user-has-permission-id-check` --- ### 📝 Commits (1) - [`4f0c4c6`](https://github.com/better-auth/better-auth/commit/4f0c4c63d7688ccb72524fb1536f2279b0fe036b) Fix adminPlugin userHasPermission when userId missing to avoid NaN id query ### 📊 Changes **1 file changed** (+6 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `packages/better-auth/src/plugins/admin/admin.ts` (+6 -4) </details> ### 📄 Description closes: https://github.com/better-auth/better-auth/issues/3282 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-15 20:30:49 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#21642