Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(cli): plumb top level roles to FDR #5170

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

RohinBhargava
Copy link
Member

This change plumbs roles to the top level of the Docs definition. This is a necessary step to segment the search results for different users based on Role.

@coderabbitai summary

@@ -364,7 +364,8 @@ export class DocsDefinitionResolver {
pointsTo: undefined,
authed: undefined,
viewers: undefined,
orphaned: undefined
orphaned: undefined,
roles: this.parsedDocsConfig.roles?.map((role) => FernNavigation.RoleId(role))
Copy link
Member Author

Choose a reason for hiding this comment

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

simple change

Copy link

github-actions bot commented Nov 13, 2024

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

Successfully merging this pull request may close these issues.

2 participants