Skip to content

Reorganize sidebar, fix FileStorage permissions, improve performance#92

Merged
antosubash merged 4 commits intomainfrom
feature/jolly-nobel
Apr 7, 2026
Merged

Reorganize sidebar, fix FileStorage permissions, improve performance#92
antosubash merged 4 commits intomainfrom
feature/jolly-nobel

Conversation

@antosubash
Copy link
Copy Markdown
Owner

Changes

  • Sidebar Reorganization: Restructured navigation layout with design documentation
  • FileStorage Ownership: Added file ownership checks and permission validation to file endpoints
  • URL Standardization: Updated default page URLs across modules for consistency
  • Permissions System: Implemented PermissionClaimsTransformation for better claim handling
  • Admin Hub: Added new Admin Hub page with real-time communication endpoint
  • Module Updates: Updated routing and page structure in multiple modules (Users, Email, Products, etc.)
  • Account Management: Refactored account manage pages with improved styling
  • Database Migration: Added migration for FileStorage ownership tracking
  • Client Routes: Reorganized client-side routing structure

Files Modified

  • Authorization and permissions handling
  • Module configurations (11+ modules updated)
  • File storage endpoints with ownership checks
  • Account management UI components
  • Database migrations and models
  • E2E test page objects

…ve performance

- Consolidate 13 admin sidebar items into a single Admin Hub page (/admin)
- Standardize module route prefixes (e.g., /products/browse → /products)
- Add file ownership (CreatedByUserId) to FileStorage with DB migration
- Fix 403 Forbidden for non-admin users by adding PermissionClaimsTransformation
- Cache permission lookups in IMemoryCache (5-min TTL) to avoid per-request DB queries
- Fix slow shutdown: catch ObjectDisposedException in EntityChangeInterceptor, reduce timeout to 5s
- Extract WellKnownRoles.Admin constant and GetScopedUserId() to eliminate magic strings
- Extract FileOwnershipCheck helper to deduplicate access control logic
- Move ClaimsPrincipalExtensions from Users to Core for cross-module reuse
@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages Bot commented Apr 7, 2026

Deploying simplemodule-website with  Cloudflare Pages  Cloudflare Pages

Latest commit: 1889000
Status: ✅  Deploy successful!
Preview URL: https://61dfc1a7.simplemodule-website.pages.dev
Branch Preview URL: https://feature-jolly-nobel.simplemodule-website.pages.dev

View logs

@antosubash antosubash merged commit 7bdd59d into main Apr 7, 2026
4 checks passed
@antosubash antosubash deleted the feature/jolly-nobel branch April 7, 2026 21:32
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.

1 participant