Repository navigation
feat(user-mgmt): clarify group permissions combine via union (closes #1001) - #1008
Conversation
…1001) Add a brief helper note in the Group Membership expand panel explaining that a user's effective permissions are the union of all their groups' permissions, so assigning a lower-privilege group alongside a higher-privilege one has no effect (only redundancy, no conflict). No blocking/mutual-exclusion logic added; working-as-designed per #1001 Option A decision. Also add two unit tests asserting the hint text is rendered in the panel.
|
@coderabbitai review |
|
Warning Review limit reached
More reviews will be available in 55 minutes and 17 seconds. Learn how PR review limits work. Your organization has run out of usage credits. Purchase more in the billing tab. ⌛ How to resolve this issue?After more reviews become available, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available. Please see our Fair Usage Limits Policy for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
✅ Action performedReview finished.
|
Summary
.expand-panel-groupsafter the expand button is clicked.Changes
frontend/src/users/userList.ts(renderUserExpandPanel): one new<p class="text-muted">line after the<h5>Group Membership</h5>heading, using only the HTML entity’(right-single-quote) -- static text, no dynamic data injection.frontend/src/__tests__/users.test.ts: newdescribe('group union permission hint (issue #1001)')block with two tests.Test plan
npm run build-- clean (pre-existing entrypoint-size warning only)npx tsc --noEmit-- no errorsnpm test -- --testPathPattern=users.test-- 206/206 pass, including the two new testscloses #1001