[PR #6229] [MERGED] docs: mark permission as server-only param #6532

Closed
opened 2026-03-13 13:02:25 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/6229
Author: @matteobad
Created: 11/23/2025
Status: Merged
Merged: 11/23/2025
Merged by: @Bekacru

Base: canaryHead: docs/api-key-client-creation


📝 Commits (1)

  • 33f5649 docs: mark permission as server-only param

📊 Changes

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

View changed files

📝 docs/content/docs/plugins/api-key.mdx (+1 -0)

📄 Description

Closes #6217

Fix docs to describe permissions options in the createApiKey method as server-only


Summary by cubic

Updated API Key plugin docs to mark createApiKey permissions as server-only. Adds @serverOnly to clarify it should not be used on the client.

Written for commit 33f5649ca4. Summary will update automatically on new commits.


🔄 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/6229 **Author:** [@matteobad](https://github.com/matteobad) **Created:** 11/23/2025 **Status:** ✅ Merged **Merged:** 11/23/2025 **Merged by:** [@Bekacru](https://github.com/Bekacru) **Base:** `canary` ← **Head:** `docs/api-key-client-creation` --- ### 📝 Commits (1) - [`33f5649`](https://github.com/better-auth/better-auth/commit/33f5649ca48051aee5ef0d84ff63666ec0c25d4f) docs: mark permission as server-only param ### 📊 Changes **1 file changed** (+1 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `docs/content/docs/plugins/api-key.mdx` (+1 -0) </details> ### 📄 Description Closes #6217 Fix docs to describe `permissions` options in the `createApiKey` method as `server-only` <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Updated API Key plugin docs to mark createApiKey permissions as server-only. Adds @serverOnly to clarify it should not be used on the client. <sup>Written for commit 33f5649ca48051aee5ef0d84ff63666ec0c25d4f. Summary will update automatically on new commits.</sup> <!-- End of auto-generated description by cubic. --> --- <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 13:02:25 -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#6532