Skip to content

docs: document RBAC restriction badge on page headers#5980

Open
fern-api[bot] wants to merge 1 commit into
mainfrom
devin/1782431136-rbac-restriction-badge-docs
Open

docs: document RBAC restriction badge on page headers#5980
fern-api[bot] wants to merge 1 commit into
mainfrom
devin/1782431136-rbac-restriction-badge-docs

Conversation

@fern-api

@fern-api fern-api Bot commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

Summary

Adds a "Restriction badge" section to the RBAC docs page documenting the new lock-icon badge that appears next to page titles on restricted pages (shipped in fern-platform#12065).

The badge shows automatically on all restricted page types (markdown pages and API reference endpoints):

  • Authenticated-only pages (no viewers): tooltip says "Only visible to authenticated users."
  • Role-restricted pages (with viewers): tooltip lists the role names

No configuration required — the badge renders whenever RBAC or authentication is active.

Requested by: Fern Support

Co-Authored-By: bot_apk <apk@cognition.ai>
@fern-api fern-api Bot requested a review from devalog as a code owner June 25, 2026 23:47
@fern-api

fern-api Bot commented Jun 25, 2026

Copy link
Copy Markdown
Contributor Author

Requested by: devin.logan
Slack thread: View conversation

- **Authenticated-only pages** (no `viewers` specified): "Only visible to authenticated users."
- **Role-restricted pages** (`viewers` specified): lists the role names that can view the page.

The badge appears automatically on all restricted page types, including API reference endpoints.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🚫 [vale] reported by reviewdog 🐶
[FernStyles.Reject] Use 'API Reference' instead of 'API reference'.

@github-actions

Copy link
Copy Markdown
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants