Repository navigation
fix: explain glossary creation permissions in the empty state - #4100
vaibhavmashal wants to merge 1 commit into
Conversation
Signed-off-by: vaibhavmashal <vaibhavmashal098@gmail.com>
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
|
Hi @vaibhavmashal, thank you for this contribution! It is great to see you adressed the issue so fast. 💕 Our team still needs to review it. The main test run is also still waiting. The failed Snyk check comes from a limit on our side, so there is nothing for you to fix there. We will comment here if we need any changes. |
Summary
Show a permission message in the empty Glossaries list when the organization member cannot create a glossary. The message tells them to ask an organization Owner or Maintainer. Users who can create glossaries still see the getting-started guidance and create button.
Verification
Compared the upstream and patched components locally. The upstream read-only state rendered the generic message. The patched state shows the permission guidance, and the create-enabled state keeps its callback and help link. Added regression coverage for both states.
Fixes #4066
Summary by CodeRabbit