[PR #8000] [MERGED] docs(admin.mdx): export const ac #7677

Closed
opened 2026-03-13 13:45:19 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/8000
Author: @rbalet
Created: 2/16/2026
Status: Merged
Merged: 2/18/2026
Merged by: @Bekacru

Base: canaryHead: patch-1


📝 Commits (1)

  • 5416895 docs(admin.mdx): export const ac

📊 Changes

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

View changed files

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

📄 Description

The const ac need to be exported, if we'd like to import it elsewhere


Summary by cubic

Export ac in the admin plugin docs example so it can be imported elsewhere. Changes const ac = createAccessControl(statement) to export const ac = createAccessControl(statement).

Written for commit 5416895571. Summary will update 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/8000 **Author:** [@rbalet](https://github.com/rbalet) **Created:** 2/16/2026 **Status:** ✅ Merged **Merged:** 2/18/2026 **Merged by:** [@Bekacru](https://github.com/Bekacru) **Base:** `canary` ← **Head:** `patch-1` --- ### 📝 Commits (1) - [`5416895`](https://github.com/better-auth/better-auth/commit/5416895571f81ec671bbcc9450120dd46be3af17) docs(admin.mdx): export const ac ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `docs/content/docs/plugins/admin.mdx` (+1 -1) </details> ### 📄 Description The const ac need to be exported, if we'd like to import it elsewhere <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Export ac in the admin plugin docs example so it can be imported elsewhere. Changes const ac = createAccessControl(statement) to export const ac = createAccessControl(statement). <sup>Written for commit 5416895571f81ec671bbcc9450120dd46be3af17. Summary will update 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:45:20 -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#7677