Skip to content

feat: enforce fine-grained permission controls and fix permissions page bugs#139

Open
wanghuan-520 wants to merge 23 commits intofeature/user-managementfrom
test/user-management
Open

feat: enforce fine-grained permission controls and fix permissions page bugs#139
wanghuan-520 wants to merge 23 commits intofeature/user-managementfrom
test/user-management

Conversation

@wanghuan-520
Copy link

feat: enforce fine-grained permission controls and fix permissions page bugs

  • Protect default admin account from deletion, role removal, and deactivation
  • Conditionally render Add/Edit/Delete UI elements based on ABP permissions
  • Intercept ABP 302→AccessDenied redirects in abpFetch, converting to 403
  • Add graceful degradation with .catch() for permission-gated API calls
  • Fix permissions page: user search no longer clears the permission panel
  • Fix permissions search: child permission matches now preserve parent chain
  • Clear stale permission data when user search returns no results

potter-sun and others added 22 commits January 30, 2026 17:42
- Remove Entry/Process/Validate/Output legend component
- Add FullscreenButton with enter/exit toggle
- Use createPortal to render fullscreen overlay on document.body
- Add scoped CSS styles for React Flow controls in fullscreen mode
feat(agent-graph): add fullscreen mode and remove legend
feat(agent-graph): add fullscreen mode and remove legend
- Wrap app with ToastProvider to fix useToast context error
- Show OAuth buttons only when provider is configured
- Hide Google login until VITE_GOOGLE_CLIENT_ID is set
- Simplify OAuth status display in login page
…eam info

- Add EventBox animation on edges when upstream node is actively running via SSE
- Add FROM UPSTREAM section on node cards showing upstream agent names
- Add agent detail modal with two-column layout (upstream events + output)
- Add sseActiveNodes tracking to distinguish SSE vs API-triggered states
- Remove continuous edge animation, only show EventBox during data transfer
- Support scrollable full content in upstream events panel
- Fix React hooks order issue in fullscreen mode
- Fix modal visibility in fullscreen mode (z-index)
- Remove old agent-graph.pen, add new agent-topology-enhanced.pen
- Remove Entry/Process/Validate/Output legend component
- Add FullscreenButton with enter/exit toggle
- Use createPortal to render fullscreen overlay on document.body
- Add scoped CSS styles for React Flow controls in fullscreen mode
- Wrap app with ToastProvider to fix useToast context error
- Show OAuth buttons only when provider is configured
- Hide Google login until VITE_GOOGLE_CLIENT_ID is set
- Simplify OAuth status display in login page
Resolve conflict in agent-flow-graph.tsx by keeping Modal functionality
from current branch (agent-graph) which provides complete agent detail
modal implementation.
- Add /api/vibe/user-stats endpoint for efficient stats calculation
- Add /api/vibe/users endpoint with role/status filtering support
- Refactor frontend to use new optimized APIs (reduces N+1 calls)
- Move Platform Settings to bottom of sidebar navigation
- Add separator in profile dropdown menu for better UX
…ge bugs

- Protect default admin account from deletion, role removal, and deactivation
- Conditionally render Add/Edit/Delete UI elements based on ABP permissions
- Intercept ABP 302→AccessDenied redirects in abpFetch, converting to 403
- Add graceful degradation with .catch() for permission-gated API calls
- Fix permissions page: user search no longer clears the permission panel
- Fix permissions search: child permission matches now preserve parent chain
- Clear stale permission data when user search returns no results
@wanghuan-520 wanghuan-520 changed the title Test/user management feat: enforce fine-grained permission controls and fix permissions page bugs Feb 11, 2026
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.

3 participants