[PR #1820] [MERGED] Update admin.mdx #4009

Closed
opened 2026-03-13 11:27:53 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/1820
Author: @SnehanChakravarthi
Created: 3/14/2025
Status: Merged
Merged: 3/14/2025
Merged by: @Bekacru

Base: mainHead: patch-1


📝 Commits (1)

📊 Changes

1 file changed (+2 additions, -2 deletions)

View changed files

📝 docs/content/docs/plugins/admin.mdx (+2 -2)

📄 Description

there is not function called auth.api.adminHasPermission

but there is a function called api.admin.userHasPermission


🔄 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/1820 **Author:** [@SnehanChakravarthi](https://github.com/SnehanChakravarthi) **Created:** 3/14/2025 **Status:** ✅ Merged **Merged:** 3/14/2025 **Merged by:** [@Bekacru](https://github.com/Bekacru) **Base:** `main` ← **Head:** `patch-1` --- ### 📝 Commits (1) - [`67be1ff`](https://github.com/better-auth/better-auth/commit/67be1fff62692ee15e5984c31e200149f8f3230c) Update admin.mdx ### 📊 Changes **1 file changed** (+2 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `docs/content/docs/plugins/admin.mdx` (+2 -2) </details> ### 📄 Description there is not function called auth.api.adminHasPermission but there is a function called api.admin.userHasPermission --- <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-03-13 11:27:53 -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#4009