-
Notifications
You must be signed in to change notification settings - Fork 13.1k
chore: update link values for ABAC #37525
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
Conversation
|
Looks like this PR is not ready to merge, because of the following issues:
Please fix the issues and try again If you have any trouble, please check the PR guidelines |
|
WalkthroughReplaced placeholder ABAC links in client exports with concrete endpoints (/i/abac and /i/abac-ldap), removed the obsolete abacLicenseRenewalUrl, and updated the Admin ABAC page to reference the new abacDocs link. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes
Possibly related PRs
Suggested labels
Suggested reviewers
Poem
Pre-merge checks and finishing touches✅ Passed checks (5 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro Disabled knowledge base sources:
📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (3)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## feat/abac #37525 +/- ##
=============================================
- Coverage 54.27% 54.25% -0.02%
=============================================
Files 2637 2637
Lines 50050 50050
Branches 11202 11202
=============================================
- Hits 27163 27155 -8
- Misses 20720 20722 +2
- Partials 2167 2173 +6
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
67a5282 to
8eb23b8
Compare
0a5ce81 to
e4b4b89
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
🧹 Nitpick comments (1)
apps/meteor/client/lib/links.ts (1)
34-35: Consider using distinct URL paths for future flexibility.Based on past review feedback, both
abacDocsandabacLicenseRenewalUrlcurrently point to the same URL path. Using different paths (e.g.,/i/abac-docsand/i/abac-license-renewal) would allow the docs team to redirect both to the same page initially while preserving the ability to point them to different destinations later without requiring a code change.- abacDocs: `${GO_ROCKET_CHAT_PREFIX}/i/abac`, - abacLicenseRenewalUrl: `${GO_ROCKET_CHAT_PREFIX}/i/abac`, + abacDocs: `${GO_ROCKET_CHAT_PREFIX}/i/abac-docs`, + abacLicenseRenewalUrl: `${GO_ROCKET_CHAT_PREFIX}/i/abac-license-renewal`,
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
Disabled knowledge base sources:
- Jira integration is disabled by default for public repositories
You can enable these sources in your CodeRabbit configuration.
📒 Files selected for processing (1)
apps/meteor/client/lib/links.ts(1 hunks)
🧰 Additional context used
📓 Path-based instructions (1)
**/*.{ts,tsx,js}
📄 CodeRabbit inference engine (.cursor/rules/playwright.mdc)
**/*.{ts,tsx,js}: Write concise, technical TypeScript/JavaScript with accurate typing in Playwright tests
Avoid code comments in the implementation
Files:
apps/meteor/client/lib/links.ts
🔇 Additional comments (1)
apps/meteor/client/lib/links.ts (1)
36-36: Based on my verification, I found that:
- Line number is incorrect: The review states line 36, but the URL is actually on line 35
- File was newly created: The commit
e4b4b89d6eshows this file was newly created with the URL already using lowercaseabac-ldap- No reference to ABAC-57 found: I searched the entire codebase and found no references to "ABAC-57"
- Consistent lowercase pattern: All other URL paths in the file use lowercase (e.g.,
ldap-docs,e2ee-guide,fingerprint-changed-faq)The review comment references an issue "ABAC-57" that supposedly specifies uppercase "LDAP" in the URL, but I cannot verify this claim exists in the codebase or if it's the correct specification.
Verify the correct case for the LDAP URL path with the docs team and issue tracker. The implementation uses
/i/abac-ldap(lowercase), but confirm whether this matches the intended specification from ABAC-57 or related documentation. Also note the line number should be 35, not 36.
e4b4b89 to
a984f0a
Compare
Proposed changes (including videos or screenshots)
Issue(s)
ABAC-57
Steps to test or reproduce
Further comments
Summary by CodeRabbit
Bug Fixes
New Links
✏️ Tip: You can customize this high-level summary in your review settings.